New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Need a little help at JS.
Why my this code is not performing animation after the button is clicked? How can i correct it? https://code.sololearn.com/Ww5Mx7o5bcVj/?ref=app Thanks for answering.
4 Answers
+ 8
Kindly please refer to the code below and let me know if you still need any help. 😉
https://code.sololearn.com/WYF8e3WTzjjq/?ref=app
+ 6
Sure you're welcome! 😄
Basically adding the animation "Exec" to the button does the animation job so removing it after the animation finished (0.5 second) allows you to trigger it indefinitely. 👍
+ 3
Oh I got it. Thanks
+ 1
Thanks @Zephyr Koo but can you please explain me how did you do that.