Hello everyone,
I'm new to GSAP, and I'm trying to make a website using it. However, I am facing some problems.
When I refresh the page, my animation gets stuck and nothing happens. Instead of restarting my animation from the beginning, it gets stuck at the footer. I have to refresh the page 3 to 4 times to make it work properly. Please tell me how I can solve this problem. I want my page to start from the beginning when I refresh, and I also want it to start from the beginning when I change viewports.
My animation lags a lot while scrolling down. It works fine in the Brave browser, but it lags in the Chrome browser.
sorry im not able to put my whole html,css file in codepen because of my images . i have posted my js please look at it