13th Apr 2021, 3:27 PM
Harshita Kumari
Harshita Kumari - avatar
2 Answers
+ 3
Line 2: It should be canvas.getContext("2d") And window.onload = () =>{ //Put your all JS code here }
13th Apr 2021, 3:34 PM
Vadivelan