02.11.2019, 08:24
And what is the result of below line?
All should work, but you must be sure if canvas is already created. You can add some background in css to it.
Code:
console.log(ctx);
All should work, but you must be sure if canvas is already created. You can add some background in css to it.
Done is better than perfect