From 75b929ea21ba615683df8821ffb2b26a91c4d41b Mon Sep 17 00:00:00 2001 From: Ashutosh Kumar Date: Tue, 22 Oct 2024 21:24:06 +0530 Subject: [PATCH] Hamburger Added --- index.html | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 5a77ec0..61565d1 100644 --- a/index.html +++ b/index.html @@ -12,9 +12,106 @@ + + - + +
+
+
+
+
+ + +
+ +
+
@@ -516,6 +613,13 @@

Who to follow

up_button.style.display="flex"; down_button.style.display="none"; } +// JavaScript to toggle the hamburger menu +const hamburger = document.getElementById("hamburger"); +const hamburgerMenu = document.getElementById("hamburgerMenu"); + +hamburger.addEventListener("click", function () { + hamburgerMenu.classList.toggle("show"); // Toggle visibility of the hamburger menu +});