HTML and CSS Reference
Now, you will need to make a game.css file in your css folder:
Finally, you make your main.ts file, which will go in your src folder. Simply put in it the following content:
You should now have a project that looks like Figure 19-4 .
Figure 19-4. You should now have an index.html, a game.css, and a main.js file
If you go back to the command line and run the following code at the root of your game's project directory,
it should start the build script:
Assuming that everything worked correctly, you will see your game's index page in the browser, along with your
trace to the console window, as displayed in Figure 19-5 .