Skip to content

Commit

Permalink
changes on js for main
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo236 committed Sep 2, 2024
1 parent 7e91d72 commit 5b8d075
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ aboutButton.addEventListener('click', function () {
console.log(230924928);
});


const aboutButton = document.querySelector('.read-more-btn');
const aboutBackdrop = document.querySelector('.modal-box');
aboutButton.addEventListener('click', toggleModal);
aboutButton.addEventListener('click', function () {
console.log(230924928);
});
aboutBackdrop.addEventListener('click', e => {
const target = e.target.closest('.close-modal-box');
if (!target) {
Expand Down

0 comments on commit 5b8d075

Please sign in to comment.