Reading-notes

Class 13 Reading Assignment

These are my notes from Module 13

Local Storage and How To Use It On Websites

  1. Why would a developer use local storage for a web application?
    • inorder to save information to be transfered to new pages or to save them on page refresh
  2. What information should not be stored in local storage?
    • sensitive information
  3. Local storage can store what type of data? How would you convert it to that type before storing?
    • local storage can store strings. you need to stringify your data before transfering it into local storage and use parse to transfer that info back into an object.