There are two types of web storage objects:
- sessionStorage()
- localStorage()
Local vs. Session
- Session Storage is destroyed once the user closes the browser
- Local Storage stores data with no expiration date
Note:
You need to be familiar with basic JavaScript in order to understand and use the API
by Valeri Tandilashvili
4 years ago
HTML
2
Pro tip: use ```triple backticks around text``` to write in code fences