Local Storage
Past present and future of LS
Can be used to Cach data and can be used to store something most current state. eg User selected Dark/Light mode when last on the site to the apply when they come back
anything that needs to be secure. eg Passwords, Names, Addresses, phonenumbers etc
LS saves ALL data as Strings. in a .js file you will need to use JSON.parse() to convert the string data back to something useable. you also need to covert data TO a string before it can be saved with JSON.stringify()