+ 6

Why this don't do something ?

With a real software like notepad++, Dreamweaver, DroidEditFree etc... this code do something... why in sololearn NO ? https://code.sololearn.com/Wlk0fRHuaP3P/?ref=app

29th Aug 2017, 7:38 AM
NoxFly
NoxFly - avatar
1 Réponse
+ 10
update: better use the window.onload for this. check the updated code. source: https://www.sololearn.com/discuss/300061/?ref=app put your script in the body tag else your JS loads before your doc is loaded. https://code.sololearn.com/W1AWC2knV7NO/?ref=app
29th Aug 2017, 7:46 AM
Lord Krishna
Lord Krishna - avatar