16th Jun 2020, 10:00 AM
Omkar Kamat
Omkar Kamat - avatar
2 odpowiedzi
+ 2
You are placing your script in head ,so script runs before html document ,and it tries to access Canvas element which doesn't exits yet ,best is to place script before closing body tag
16th Jun 2020, 11:03 AM
Abhay
Abhay - avatar
0
OK thank you
16th Jun 2020, 3:18 PM
Omkar Kamat
Omkar Kamat - avatar