+ 2
cannot read property context of null
when I was using getContext("2d") for canvas in HTML. it says cannot read property context of null
3 Answers
+ 2
Do this in your code :
window.onload = function() {
// all javascript code goes here
}
+ 3
Please add your code too so that I can solve the issue :))
+ 3
thanks bro u saved my life