Skip to content

Instantly share code, notes, and snippets.

@Shurlow
Last active August 15, 2018 01:07
Show Gist options
  • Save Shurlow/aa3bcaca41aa6bcdfe67ec566c894302 to your computer and use it in GitHub Desktop.
Save Shurlow/aa3bcaca41aa6bcdfe67ec566c894302 to your computer and use it in GitHub Desktop.
Local Storage Lesson Notes

Local Storage

Objectives

  • Describe the purpose of Local Storage
  • Set and get primitive data types in Local Storage
  • Describe the purpose of JSON and what it is used for
  • Set and get complex data structures in Local Storage

Guiding Questions

  • What is local storage?

    With your teams:

    • Reseach what local storage and summarize it
    • Identify 3 methods that allow you to interact with it
    • Find where to see the contents of local storage in your browser development console

    Your answer...

  • What kind of things might you want to store in Local Storage?

    Your answer...

  • What is JSON and why is it useful? How is it different than a JavaScript object?

    Your answer...

  • How do you convert a JavaScript object to JSON? How do convert JSON to a JavaScript object?

    Your answer...

Challenge

Complete the code challenge in lesson 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment