0
Not Working .....
5 Answers
+ 2
Coder
Write JS code inside this:
window.onload = function () {
}
+ 3
I believe javascript is loading first and then the document . If document was loading first then there shouldn't be any problem or am i wrong!!
+ 2
Abhay you are correct.
On android the javascript loads before the body of the html document.
https://code.sololearn.com/Wa16A20a6a23/?ref=app
https://code.sololearn.com/Wa6a10A11a12/?ref=app
+ 1
A͢J - SÍoÍlÍoÍ HÍeÍlÍpÍeÍrÍ This code is working now Thanks....., but why have to use it on all codes.
It's not like this on Visual Studio....:(
+ 1
Coder
Because in SoloLearn document load first then JavaScript. Sololearn terminal is different than others.