diff --git a/animation/02-pop-up/solution/solution.js b/animation/02-pop-up/solution/solution.js index 4f7c25cb0fc..0e139a5e7ae 100644 --- a/animation/02-pop-up/solution/solution.js +++ b/animation/02-pop-up/solution/solution.js @@ -1,6 +1,5 @@ const openButton = document.getElementById('trigger-modal'); const closeButton = document.getElementById('close-modal'); -const backdrop = document.getElementById('backdrop') function toggleModal() { const modalDiv = document.querySelector('.popup-modal');