I cannot access a canvas element.
Error
Uncaught TypeError: undefined is not a function
JS
var canvas = $(".display");
var ctx = canvas.getContext("2d");
I cannot access a canvas element.
Error
Uncaught TypeError: undefined is not a function
JS
var canvas = $(".display");
var ctx = canvas.getContext("2d");