diff --git a/1 - Responsive Navigation Bar Tutorial Using HTML, CSS and JavaScript/script.js b/1 - Responsive Navigation Bar Tutorial Using HTML, CSS and JavaScript/script.js index 92cc6ad..2987769 100644 --- a/1 - Responsive Navigation Bar Tutorial Using HTML, CSS and JavaScript/script.js +++ b/1 - Responsive Navigation Bar Tutorial Using HTML, CSS and JavaScript/script.js @@ -27,7 +27,7 @@ window.onclick = (e) => { if (!e.target.matches(".dropdown-btn")) { const dropdowns = document.querySelectorAll(".dropdown-list"); dropdowns.forEach((drpodown) => { - drpodown.classList.remove("show"); + dropdown.classList.remove("show"); }); } };