From 1d3fc126fd317a9c5c714a0dbad698b992436432 Mon Sep 17 00:00:00 2001 From: Raju Gowtham Date: Wed, 19 Mar 2025 22:25:10 +0530 Subject: [PATCH] updated js --- .../script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }); } };