Edit the Application HTML File
To create your app’s basic structure, define an empty HTML page that contains references, links, and code infrastructure.
-
From the
www
folder, openUserSearch.html
in your code editor and delete all its contents. -
Delete the contents and add the following basic structure:
-
In the
<head>
element:-
Specify that the page title is “Users”.
-
Turn off scaling to make the page look like an app rather than a web page.
-
Provide a mobile “look” by adding links to the
styles.css
andratchet.css
files.
-
-
Now let’s start adding content to the body. In the
<body>
block, add an emptydiv
tag, with ID set to “content”, to contain the app’s generated UI. -
Include the necessary JavaScript files.
Here’s the complete application to this point.