HTML and CSS Reference
Before you create the index page, you need to handle a couple of prerequisites:
1. Create a directory, and put the style.css file from this chapter's source code in it.
2. Create an empty app.js file, and put it in the same directory as the style.css file.
Note that all files for the topic are available at the topic's website: ht-
At this stage you're probably itching to get started, so let's do just that.
3.1.1. Defining the HTML document structure
defines the <section> elements for each of the two views.
Step 1: Create index.html
Begin by creating a file named index.html, and add the contents of the following listing to
Listing 3.1. index.html—Application HTML structure