Hello there! I'm just starting out on JavaScript, and I found out GSAP animations are 20X faster than jQuery's (thanks to this article over here: https://css-tricks.com/myth-busting-css-animations-vs-javascript/), so I'm keen on learning it.
I have a navigation bar that should close as soon as I press the close button. But it closes as soon as the page loads (not on the click). I'd appreciate your help.