Help with my Javascript #145017
Replies: 2 comments 1 reply
-
Hi @A33ie, There are some issues in your js and HTML. I have updated, check it out. Lemme know if you still need any help :) updated code:
|
Beta Was this translation helpful? Give feedback.
-
Hi @A33ie check this out https://gist.github.com/denis23x/4328e4fbd1fe6326b29ad5e1806a22c1 I made pagination by arrows and by cards, but.. now there is another problem 😄 The animation didn't initially have pagination in mind, for example changing the card from 0 to 2 (not sequentially), will break the animation, also when changing the active card you need to reset the timer and animation state. I can't help you anymore, I don't have the competence in GSAP animations, I hope everything works out for you. |
Beta Was this translation helpful? Give feedback.
-
Body
Hi, I'm not sure if this is the right place to ask but I'm desperate and I have been trying to solve this issue for 3 days and I am unfortunatly not getting anywhere. Currently I have the basic JavaScript on a gist but in my VSC is where I have been using trail and error.
I want the buttons to act as a previous and next but when I add a set function it still doesn't work. Can anyone help me please as this is a crucial part of the design and one of the last things to finish :) https://gist.github.com/A33ie/6e61ebd1051470de2bac90cd33045dbe
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions