1 min readDec 2, 2019
Seems like an awesome tutorial. But, I’m running into an error from this line `const ctx = canvas.getContext(‘2d’);` which is returning TypeError: ctx is undefined
I’ve followed along and believe I have the correct index.html code. In fact, after failing from initially following your tutorial, I went ahead and copied the index.html code from your GitHub. Still the same error. Am I missing something with the setup to use canvas?