From cf94f0c6a74ff9c0f7cf91b8739ad83328b6b865 Mon Sep 17 00:00:00 2001 From: Jebin J Date: Thu, 4 Sep 2025 12:08:50 +0530 Subject: [PATCH] added a variable declaration --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index a43d348..32c9878 100644 --- a/script.js +++ b/script.js @@ -9,6 +9,7 @@ document.querySelectorAll('a[href^="#"]').forEach(anchor => { }); // Add hover effect to buttons +const a = [1, 2, 3]; const buttons = document.querySelectorAll('.btn'); buttons.forEach(button => { button.addEventListener('mouseenter', function() {