Skip to content

razzlepdx/js-minicamp-homework-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homework #1

Instructions


  1. 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 - this is how you would reference a value without typing that thing over and over again in your program. Variables are flexible and can be reassigned if needed - for example, a variable called myAge might be equal to 25, but after 5 years has passed, myAge will be 30. Variables can also be more complex; myCar could be a 2004 Honda Accord today, but if I replace myCar, it will definitely be a 2017 BMW 540i (haha)
    • Strings - code written between quotation marks - this is just like regular text or quotes in a book.
    • Functions (arguments, return) - a function performs a specific task in your program. Sometimes a function needs arguments, or input values. For example, if you needed your program to save the first and last name of a customer, you would write a function that takes 2 arguments (the first name, and the last name) and then saves them for you. "Return" is the part of the function that gives your program a final answer, or value, when your function has done it's job - it's the final step of your function.
    • if statements help your program make decisions. They will specify a condition or scenario, and if that condition is true, it will tell the program what to do next. If it is not true, the program will move on to the next condition. (for example, if Rachel likes pizza, buy pizza. But if Rachel does not like pizza, buy sushi.)
    • Boolean values (true, false) - True and False are used to compare statements and values in your code. This information can be used to help evaluate if statements, or to tell your program to proceed or stop.
  2. Install Node and NPM. NPM comes packaged with Node. https://nodejs.org/en/download/

  3. Install SublimeText3. If you have another editor that you prefer then you can use that. https://www.sublimetext.com/3

  4. Download this project folder from GitHub.

  5. Navigate into the downloaded folder using Terminal(Mac) or Command Prompt(Windows). ls(Mac), pwd(Windows) and cd <directory_name> are the commands you need to navigate around.

  6. Once you are in the folder type the command npm install. This will fetch all of the needed requirements for the project.

  7. Run npm test to run the automated tests. At first all of the tests will be broken. You will fill out the functions in exercises.js to make the tests pass.

Congratulations on finishing Homework #1!

Apply to our full-time or part-time immersive program to learn cutting edge technologies that are used by top technology companies around the world.

Our part-time and full-time courses are 13 intense weeks of focused study on the most relevant technologies.

Class sizes are small to ensure that each student gets individual attention from our world class instructors to help them succeed. We also provide career support both during and after the course to help you succeed. We are committed to your success.

For more information visit: https://www.lambdaschool.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%