https://repl.it/@Khalid_Williams/Classrooms-totalCapacity
https://repl.it/@Khalid_Williams/Clubs-membersBelongingToClubs
Add your repo / deployment links in a comment by 9am on Sept 18th |
Projects will always be technically difficult, but tackling the technical challenges gets easier when you have a strong process. Our goal today is to break down and demonstrate that process.
It's important to remember why we use JSON and localStorage -- formatting and saving data on the user's computer, via the WebStorage API.
localStorage
gives us access to a storage object in the browser (go ahead and try calling localStorage
in the console. We get an object back!)
This object gives us access to a few methods, such as:
localStorage.setItem([key],[value])
=> undefined
localStorage.getItem([key])
=> "[value]"
(as a string)