Skip to content

Commit

Permalink
Updated main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jahnavi-22 authored Nov 3, 2023
1 parent 7f81a73 commit 08f2bba
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===============*/
Expand Down Expand Up @@ -83,4 +70,4 @@
})
sr.reveal(`.home__data`)
sr.reveal(`.home__handle`,{delay:700})
sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'})
sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'})

0 comments on commit 08f2bba

Please sign in to comment.