9th Jul 2020, 4:21 AM
Mustafha Ahmad
Mustafha Ahmad - avatar
3 Respuestas
+ 17
window.onload = function(){ //Your canvas code }
9th Jul 2020, 4:34 AM
NightFox
+ 3
Window onload function is needed because html is loaded before js https://code.sololearn.com/WIkKiK75lyBW/?ref=app
9th Jul 2020, 4:26 AM
Atul
Atul - avatar
+ 2
Thank you all
9th Jul 2020, 5:03 AM
Mustafha Ahmad
Mustafha Ahmad - avatar