https://github.com/paramsiddharth/demo-webstorageapi
A demonstration of the use of HTML Web Storage API using JavaScript.
https://github.com/paramsiddharth/demo-webstorageapi
Last synced: 3 months ago
JSON representation
A demonstration of the use of HTML Web Storage API using JavaScript.
- Host: GitHub
- URL: https://github.com/paramsiddharth/demo-webstorageapi
- Owner: paramsiddharth
- Created: 2020-07-13T09:52:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T00:57:43.000Z (over 5 years ago)
- Last Synced: 2025-10-15T16:24:57.115Z (8 months ago)
- Language: HTML
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demonstration - HTML Web Storage API
A demonstration of the use of HTML Web Storage API using JavaScript. This example demonstrates the use of the `localStorage` variable only. `sessionStorage` may be used in a similar manner for session storage.
It is recommended to check for the availability of the API before usage by enclosing the code in an `if` block with `storage` as the condition.
[Preview](https://paramsiddharth.github.io/demo-webstorageapi/)