Animation through buttons | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 5

Animation through buttons

What if I want to trigger an animation by pressing a button ? What and how should I use for the code given below :- https://code.sololearn.com/WmjuJkHiBvJ4/?ref=app

9th Jun 2018, 3:51 AM
Hemant Jaiswal
Hemant Jaiswal - avatar
6 Respostas
+ 7
CalviÕ² Beat me to it. Yes, perfect example. Cheers
9th Jun 2018, 4:05 AM
Tony
Tony - avatar
+ 6
Use Javascript and an html <form>. You can also make the div the button as well, without having a separate button. More JS šŸ˜¬
9th Jun 2018, 4:03 AM
Tony
Tony - avatar
9th Jun 2018, 4:04 AM
CalviÕ²
CalviÕ² - avatar
+ 6
Anthony Quick CalviÕ² Rahul George Thanks guys, this will definately help me šŸ˜Š
9th Jun 2018, 5:36 AM
Hemant Jaiswal
Hemant Jaiswal - avatar
+ 5
Hemant Jaiswal Cheers! :)
9th Jun 2018, 6:20 AM
Tony
Tony - avatar