JavaScript Storal Lokal
let storage = window.localStorage;
// set an item
storage.setItem("highscore", 76);
// get an item
let highscore = storage.getItem("highscore");
// remove an item
storage.removeItem("highscore");
// clear entire storage (NOT recommended as it also removes information about cookies, ad storage an so on)
storage.clear();
Leo