Skip to content

Instantly share code, notes, and snippets.

View Garrett-Iannuzzi's full-sized avatar

Garrett Iannuzzi Garrett-Iannuzzi

View GitHub Profile
# Typescript Overview
## Why TS?
JavaScript is notoriously lenient in its loosely typed structure which
can cause unexpected bugs that are difficult to track down. TypeScript solves
this problem by throwing an error at compile time when defined types don't match
what is being passed around.
This also eliminates the need for boilerplate tests that simply verify that a function/component receives a prop or argument of the expected type and returns the expected type of value (or lack thereof).
@Garrett-Iannuzzi
Garrett-Iannuzzi / Do-The_Thing.md
Last active April 1, 2020 15:33
Do-it-do-it-now

Do the thing

  1. In the terminal run: npx create-react-app NAME-OF-APP
  2. Cd into the new directory: cd NAME-OF-APP
  3. Run: npm install.
  4. You can run npm start to see if the app was set up correctly.

Adding, Looping, & Removing

You are given an array of people that live in a neighborhood. You should have two functions, one that is able to add families to the neighborhood and another that is able to remove them based on the number passed through.

Ex:

var neighborhood = ['Addams Family', 'The Jetsons', 'The Simpsons', 'Full House'];
addFamily(neighborhood, 'The Griffins');

Our answer would be:

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.

Markdown Practice

Take a look at the Mod 0 Tech Setup instructions. Next, click the Raw button and compare the raw markdown to how the gist displays.

Look for the following elements, and under each bullet point, paste an example of the markdown that creates each.

  • Headings of various sizes
  • Links
  • Bold text
  • Auto-numbered lists

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 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.

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): -"Fluency builds understanding," flash cards, vocab review, practice on the keyboard everyday. Using these stratagies will help me learn this material.

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 langauge, 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.