Assessing your JavaScript Fundamentals
This sprint you worked really hard on learning the fundamentals of JavaScript! This sprint challenge will touch on each concept covered throughout this week. Follow each task in order but feel free to skip something if you're struggling and come back to it later.
- This project is to be worked on alone but you can use outside resources. You can reference any old code you may have and the training kit content.
Task 1: Set Up The Project With Git
- Fork the project into your GitHub user account
- Clone the forked project into a directory on your machine
- You are now ready to build this project with your preferred IDE
Task 2: Comprehension Questions
Answer the following questions to the best of your ability. You can exercise your Googling skills and use training kit. Open up the Answers.md file and record your responses there.
- Describe the biggest difference between
.forEach
&.map
. - What is the difference between a function and a method?
- What is closure?
- Describe the four rules of the 'this' keyword.
- Why do we need super() in an extended class?
Pro tip for this challenge: If something seems like it isn't working locally, copy and paste your code up to codepen and take another look at the console.
Task 3: Objects and Arrays
Test your knowledge of objects and arrays.
- Use the objects-arrays.js link to get started. Read the instructions carefully!
Task 4: Functions
This challenge takes a look at callbacks and closures as well as scope.
- Use the functions.js link to get started. Read the instructions carefully!
Task 5: Prototypes
Create constructors, bind methods, and create cuboids in this prototypes challenge.
- Use the prototypes.js link to get started. Read the instructions carefully!
Task 6: Classes
Once you have completed the prototypes challenge, it's time to convert all your hard work into classes.
- Use the classes.js link to get started. Read the instructions carefully!
Congratulations, you completed the sprint challenge!