It’s possible to do everything in one file with HTML5, but it’s more organized to keep everything separate. Use your favorite text editor to open that folder, then create three new files and name them: index.html, style.css, and script.js. To begin coding the game, create a new folder in your documents. If you really want, you can style it when you’re done! It doesn’t look exactly the same, but it functions the same. What better game to represent web development than the Chrome dinosaur game that you play when you lose your internet connection? It’s a fun game, and it’s easy to recreate the code. Games are one of the best projects you can create, because they are very easily enjoyed by the end user and are all around fun to make! There are JavaScript libraries that are pre-made for game development, but I prefer creating from scratch so that I can understand everything completely.
So you want to use your basic knowledge of web development to create something a little cooler than a to-do app.