From 3204342f60d6a15582d47d6805fdc24b6ab24fcd Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 07:26:56 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20unused=20navbar=20scrol?= =?UTF-8?q?l=20effect=20in=20script.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: singhaditya21 <53948039+singhaditya21@users.noreply.github.com> --- script.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/script.js b/script.js index 1d5d830..2cd4c1d 100644 --- a/script.js +++ b/script.js @@ -64,16 +64,6 @@ document.addEventListener('DOMContentLoaded', () => { }); }); - // Navbar scroll effect - const nav = document.querySelector('nav'); - window.addEventListener('scroll', () => { - if (window.scrollY > 50) { - nav.classList.add('scrolled'); - } else { - nav.classList.remove('scrolled'); - } - }); - // Mobile menu toggle (simple version for now) const menuBtn = document.querySelector('.menu-btn'); const navLinks = document.querySelector('.nav-links');