Skip to content

Instantly share code, notes, and snippets.

JSON and Local Storage Review

It's important to remember why we use JSON and localStorage -- formatting and saving data on the user's computer, via the WebStorage API.

Using localStorage

localStorage gives us access to a storage object in the browser (go ahead and try calling localStorage in the console. We get an object back!)

This object gives us access to a few methods, such as:

  • localStorage.setItem([key],[value]) => undefined
  • localStorage.getItem([key]) => "[value]" (as a string)

Project: Number Guesser

Group Member Names: Peerat Sukcharoenyingyong and Vanessa Randall

Goals and Expectations for the Project (What does each group member hope to get out of this project? What do we want to achieve as a team? How will we know that we're successful?):

  • Solidify understanding of JavaScript and Flexbox.
  • Solidify more semantic HTML, clean CSS, and better JavaScript functions.
  • If we are able to establish compromises in difficult situation through the duration of the project.
  • We will know we are successful at the end if we are not frustrated with each other.
  • Try to get to the point where we can attempt the extensions.

Session 4 Practice Tasks

The assignments listed here should take you between 1.5 and 2 total hours.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.
@peeratmac
peeratmac / mod_0_session_4_readings.md
Last active May 15, 2019 23:06 — forked from rwarbelow/mod_0_session_4_readings.md
Mod 0 Session 4 Readings and Responses

Session 4 Readings and Responses

The readings and responses listed here should take you approximately 50 minutes total.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of this document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Session 3 Practice Tasks

The assignments listed here should take you approximately 25 total minutes.

To start this assignment, click the button in the upper right-hand corner that says Fork. This is now your copy of the document. Click the Edit button when you're ready to start adding your answers. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

1. Creating Files and Directories (10 min)

Need help? You can go back to the files/directories portion of the lesson here.

@peeratmac
peeratmac / mod_0_session_3_readings.md
Last active May 11, 2019 17:05 — forked from rwarbelow/mod_0_session_3_readings.md
Mod 0 Session 3 Readings

Session 3 Readings and Responses

The readings and responses listed here should take you approximately 20 minutes total.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of this document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Session 2 Practice Tasks

The assignments listed here should take you approximately 2 hours.

To start this assignment, click the button in the upper right-hand corner that says Fork. This is now your copy of the document. Click the Edit button when you're ready to start adding your answers. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

1. Documentation and Googling (75 min)

Documentation of a language, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation and other reference material.

Session 2 Readings and Responses

The readings and responses listed here should take you approximately 60 minutes.

To start this assignment, click the button in the upper right-hand corner that says Fork. This is now your copy of this document. Click the Edit button when you're ready to start adding your answers. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

1. Learning Fluency by Turing alum Sara Simon (30 min)

  • Your key take-aways OR how you're going to implement specific points (minimum 3):
  • There are more ways than one to study, to learn, to be fluent, or to unserstand something. And you just have to find what is right for you, for example in programming languages, maybe it's not the best to jump right into project for you.