Javascript button not working | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Javascript button not working

The button works fine when it's just iterating the count, but it fails when I add the "jump" animation. https://code.sololearn.com/WCZHXpnXX40P/?ref=app

18th Jan 2023, 2:45 AM
Mark Niles
Mark Niles - avatar
1 Respuesta
+ 1
You override window.onload Try this: https://code.sololearn.com/W8iBw9V2Eq0c/?ref=app
18th Jan 2023, 3:05 AM
Tim G
Tim G - avatar