For this application, let's take the Flat UI project we created and turn it into a real working Single Page Application. So go back to the project you built for that project and copy the index.html file you created and paste it into the root directory of the Single Page Application project. If you do not have it, you can get it from the GitHub project page, or from the Packt Publishing book page.
To get started, create a new project in your IDE, and we will build the app from there. Let's go over the structure. Inside the base directory, create the folders app, css, images, and lib. The css and images directories will contain the media files for CSS and images. The lib directory will contain any libraries you choose to download and use in your project. Finally, the app directory will contain the JavaScript and templates file structures you make when you build the application:

The first thing we can do is create a new CSS file, style.css, inside the css directory. In index.html, copy the CSS from inside the style element and paste it into the style.css file.
Next, create a link in the index.html header to the CSS style sheet, style.css:
<link type="text/css" rel="stylesheet" href="css/style.css" media="all"> Now, try launching index.html in your browser, and if everything is set up correctly, the application should be working like before.
