0

JS animation

Why is a JavaScript animation needed when I can do the animation with css?šŸ¤·šŸ½ā€ā™‚ļø Or what Iā€™m I missing

18th Jun 2020, 1:11 PM
Steve Dami
Steve Dami - avatar
1 Answer
+ 7
Suppose you want an animation when a button is clicked. You cant do this with CSS then you need JavaScript to add Event Handler to button and then add an animation to that button. Hope this helps.
18th Jun 2020, 1:26 PM
Souptik Nath
Souptik Nath - avatar