C H A P T E R 2 T A K I N G T H E F I R S T S T E P S
25 Okay, time to get started. Create an empty folder for the game project and create two sub-
folders:
scripts
and
styles
. Later in the process, a few extra folders are added, but these
two are enough for now.
Setting up the HTML The foundation of the game is just a regular HTML document. Create a new file, name it
index.
html
, and put it in the project folder. Listing 2-1 shows the initial content of
index.html
.
Listing 2-1 The empty HTML document