Hello all. I was trying to create a slider according to following codepen link in next js.
https://codepen.io/GreenSock/pen/NWMRZxe
I am trying to understand gsap as I am new and trying to write the code accordingly for gsap+react, but I am only able to see the black screen, no error is showing. This attached image is my code. I need help to understand whether I am doing it right or not or is there better way to implement this ?