Animation On Click
I'm trying to create an animation that is triggered when a button is pressed but it doesn't work. What's wrong with my code? https://code.sololearn.com/WgGK1REOmkie/?ref=app
https://code.sololearn.com/Wiq89K316l3E/?ref=app theres a better way of doing this is by using css transition,
here;s more simpler way of doing this. feel free to studying it https://code.sololearn.com/Wy0pTSQ8Y227/?ref=app
Thank you! It seems to work but it still says that there's an unexpected end of input on line 11. Is there a way to fix that?
you have <script> tag in there, remove it
I'm actually using your fixed version. It says that there's something wrong on line 11.
Interesting. The error comes only when I press the button. It works without errors when I click any random spot of the page.
oooh i see, i didnt really paid attention to the structure. i've edited the code again
Shouldn't it work only when the button is pressed?
Perfect, thank you very much! Now I have to study what I did wrong. 😀
yes your original code put click listener on the window. thats why i remove it. there's also a mistake in <button onclick
Awesome, thank you very much! 😀
Line 6 'our block element'
What is the problem 🤨🧐??
Generador de divicion python.
Broken Image in Sololearn App