Table of Content
Introducing LocalStorage
For the storage, we use local storage to store the book list persistently.
The local storage uses key value pairing.
https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage
LocalStorage uses string only for both keys and values. (Except Chrome)
Some browsers allow us to use the array notation to get/set local storage.
But storing string is not quite useful. Next, we will see how we store objects.
What’s next? We’re going to take a look at “Converting objects into JSON string”.