The data storage file
The next file which we will create for the application is the storage.js
file. This file will contain the mini data access layer that will speak to HTML5 localStorage. It will contain all of the CRUD methods for the users and displays.
Now, create a new JavaScript file in the js
/application
directory named storage.js
. We will add code to this later.
Next, we will add an HTML file that will join the application code together.