elijah seed-arita @elij.dev · Oct 7

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

1 likes 1 replies

?

Replies

elijah seed-arita · Oct 7

Now, we can use the context (ctx) to draw something on the screen. The parameters for fillRect are (x, y, width, height). Now our program is already doing something!