0
Why is innerHTML isn't work
I have a code and i need to use innerHTML but it isn't work, do you now why? https://code.sololearn.com/W14L5czBin2W/?ref=app
2 Respostas
+ 5
SoloLearn puts scripts in JS tab in <head>
Solution is to use window.onload, or put scripts in end of body, so DOM exists when JS runs.
https://code.sololearn.com/WTKcpE36GgDT/?ref=app
0
THANK YOU man