+ 3
Help please?
I can not seem to get this to work... what is the best way of playing an animation oncklick? https://sololearn.com/compiler-playground/WgaYjYkc34lV/?ref=app
7 Respostas
+ 2
Thank you so much😀
however,it only works once....
+ 2
I added comments in the CSS and the Javascript tab. I short: On clicking, we add the animation as CSS class and remove it again after a certain duration. This way, we can add it again on the next click.
In your CSS there appears to be a problem: there is no closing } for the body?
https://sololearn.com/compiler-playground/WZLWPbn1UK1T/?ref=app
+ 2
Wow,thanks I did not know you could do that..
+ 1
I cannot seem to make a onclick animation..
If you can't help,it's fine
+ 1
when I write
onclick="x()"
instead of
onclick="x"
it started to spin. Is this what you wanted to achieve?
0
What is "this"?
0
Read the comment instead of just upvoting it.
If you need help with your code, link your code.