From 08f2bbad595836d1cf8abcfa5354ddf70f39b152 Mon Sep 17 00:00:00 2001 From: jahnavi-22 <110335444+jahnavi-22@users.noreply.github.com> Date: Fri, 3 Nov 2023 10:48:27 +0530 Subject: [PATCH] Updated main.js --- assets/js/main.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/assets/js/main.js b/assets/js/main.js index 7ebc4d1..7e89d5a 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -32,19 +32,6 @@ duration: 300 } }); - - - - /* Link active work */ - const linkWork =document.querySelectorAll(".work__item"); - - function activeWork() { - linkWork.forEach(l=> l.classList.remove('active-work')) - this.classList.add('active-work'); - } - - linkWork.forEach(l=> l.addEventListener('click', activeWork)) - /*=============== SWIPER TESTIMONIAL ===============*/ @@ -83,4 +70,4 @@ }) sr.reveal(`.home__data`) sr.reveal(`.home__handle`,{delay:700}) - sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'}) \ No newline at end of file + sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'})