elijah seed-arita @elij.dev · Oct 7

Next, we can add a canvas element and a script. The canvas is where the game will render and it has an ID of "c" so we can get it in the code later. And the script will contain the javascript code for the game.

1 likes 1 replies

?

Replies

elijah seed-arita · Oct 7

To start the script, we can get the canvas and make a context out of it.