elijah seed-arita @elij.dev · Oct 7

We only need one file. I'll create index.html somewhere convenient, with a basic HTML structure.

1 likes 1 replies

?

Replies

elijah seed-arita · 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.