+ 1
Why am i getting this reference error?
"getContext is not a function" https://code.sololearn.com/WrVhL8VdGisX/?ref=app
3 Answers
+ 7
Html tag spelling is wrong which makes getcontext to call a non pure canvas
+ 2
Oopsie
+ 1
Check your canvas spelling.
<canvas id="canvas"></canvas>