# Adding Pages ## Creating the Home Page Upon creation of the project, the **index** page is automatically generated, which is the home page of AirQuality. [Figure 1](#fig16545205773718) shows the project directory. **Figure 1** Project directory ![](figures/project-directory.png "project-directory") ## Creating the Details Page To the details page, perform the following steps: 1. Right-click **pages** and choose **New** \> **JS Page** from the shortcut menu. **Figure 2** Adding a page ![](figures/adding-a-page.png "adding-a-page") 2. Enter the page name. **Figure 3** Entering the page name ![](figures/entering-the-page-name.png "entering-the-page-name") 3. Confirm the creation. The following figure shows the application project directory after the **detail** page is created. It contains a **.hml** layout file, a **.css** file, and a **.js** file \(containing service logic code\). **Figure 4** Complete project directory ![](figures/complete-project-directory.png "complete-project-directory")