0
Why is this AddEventListener Method not working
It's working on the browser on my laptop perfectly well, i just posted it here and it's not working the way it should... 🙁 https://code.sololearn.com/WW45pvtdrJ6M/?ref=app https://code.sololearn.com/WW45pvtdrJ6M/?ref=app
2 Respuestas
+ 2
Its because sololearn loads the javascript before the page is fully loaded so you just need to wrap your code in a window.onload = function (){ (all the code) }
0
Thanks Mike