JS animation | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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