homework1
-
Feynman Writing Prompts - Write out explanations of the following concepts like you are explaining it to a 12 year old. Doing this will help you quickly discover any holes in your understanding. Ask your questions on Slack.
- Variables --- variables hold data to be used throughout your code
- Strings --- store a series of characters
- Functions (arguments,
return)--- fucntions are pieces of code that perform a specific task ifstatements---- If statements are code that only runs if certain conditions are met.- Boolean values (
true,false)--- Booleans are data types that only have two values, such as yes or no, on or off, or true and false.
-
Install Node and NPM. NPM comes packaged with Node. https://nodejs.org/en/download/
-
Install SublimeText3. If you have another editor that you prefer then you can use that. https://www.sublimetext.com/3
-
Download this project folder from GitHub.
-
Navigate into the downloaded folder using Terminal(Mac) or Command Prompt(Windows).
ls(Mac),dir(Windows) andcd <directory_name>are the commands you need to navigate around. -
Once you are in the folder type the command
npm install. This will fetch all of the needed requirements for the project. -
Run
npm testto run the automated tests. At first all of the tests will be broken. You will fill out the functions inexercises.jsto make the tests pass.