githubEdit

Local Storage

the localStorage property allows browsers to store variables as strings in local memory. to use; parse into json or use strings.

// to set = add key and value to localStorage
localStorage.setItem(key, value);

// to get = retrieve files from localStorage
let lastname = localStorage.getItem(key);

sourcearrow-up-right

Last updated