13th Jun 2018, 12:53 AM
Sina
Sina - avatar
2 Answers
+ 2
yes thanks
13th Jun 2018, 1:04 AM
Sina
Sina - avatar
+ 1
Sina you have to wrap the code inside an onload function. window.onload = function(){ //your code here... } Here's a reference https://www.sololearn.com/post/7444/?ref=app
13th Jun 2018, 1:01 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar