class added but animation not work

#55 · closed · 2 comments

View on GitHub ↗

manishkaranjkar

I add classes using javascript onclick but animation not playing? can anyone give me a suggestion on how to check animation work or not?

Comments

Nico233333

I got the same question, have u fix it?

Nico233333

I figger out why it happens, maybe u forgot the pre class **"magictime "** like this -> class="magictime spaceOutDown" In js u should do selector.classList.add('magictime', 'spaceOutDown') same time @manishkaranjkar