+ 1

Why this canvas code is not working here, its working fine in chrome

https://code.sololearn.com/WKst35lvk1FK/?ref=app

12th Nov 2017, 6:40 PM
Morpheus
Morpheus - avatar
2 Answers
+ 9
Wrap your js code with window.onload = function(){ //whole js code goes here }
12th Nov 2017, 7:21 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 2
thx bro🙆
12th Nov 2017, 9:16 PM
Morpheus
Morpheus - avatar