- In the terminal run:
npx create-react-app NAME-OF-APP - Cd into the new directory:
cd NAME-OF-APP - Run:
npm install. - You can run
npm startto see if the app was set up correctly.
| # 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). |
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:
The assignments listed here should take you between 1.5 and 2 total 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.
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
The readings and responses listed here should take you approximately 20 minutes total.
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.
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.
Need help? You can go back to the files/directories portion of the lesson here.
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.
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.
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.