Local Storage in JavaScript

Published: 25 July 2021
on channel: colearnable
255
6

In this video Getting Started with Local Storage in JavaScript, we'll show how to use local storage in your browser window (e.g., what some people might call "local storage js"). We'll go over how to set storage, get storage, remove, and clear storage. We'll be using a little bit of custom css as well as an external library called Vanilla-tilt.js. That should be more or less a wrap!

For details of what we'll be doing with local storage in JavaScript (or more technically the browser API), we'll be using the methods of:

window.localStorage.setItem("someKey", "someValue")
window.localStorage.getItem("someKey")
window.localStorage.removeItem("someKey")
window.localStorage.clear()

A copy of the code used in this video can be found here:

https://replit.com/@CoLearnable/local.... Note that you'll have to copy the code to your local machine in order for it to work; we think this is the way Repl.it is constructed.

Find out more by reading the docs:

https://developer.mozilla.org/en-US/d...
https://developer.mozilla.org/en-US/d...


Watch video Local Storage in JavaScript online without registration, duration hours minute second in high quality. This video was added by user colearnable 25 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25 once and liked it people.