From 0bae060fb1f881f413ff6f3136fe618464d86d0a Mon Sep 17 00:00:00 2001 From: Brian Lister Date: Sun, 21 Apr 2024 10:45:50 -0500 Subject: [PATCH] fix: remove superfluous line of code in solution (#528) --- animation/02-pop-up/solution/solution.js | 1 - 1 file changed, 1 deletion(-) diff --git a/animation/02-pop-up/solution/solution.js b/animation/02-pop-up/solution/solution.js index 4f7c25c..0e139a5 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');