JSNavey / JavaScript-I

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript - I

  • The point of these assignments is to take your knowledge of JavaScript and start putting into practice the principles learned throughout JavaScript I.

Assignment Description

  • Fork/Clone this repository.
  • Complete all the exercises as described inside each assignment file.
  • Use console.log() statements to check to see if your code does what it is supposed to do.
  • To test your console statements you can run node /assignments/<fileName> to see what prints in your terminal. You can also use an online tool like JSBin, REPL.it, JSFiddle. You can even use your Chrome developer console.
  • Once you finish the exercises in each file, commit your code, and push it to your fork.

Objects

To better understand objects, you really just need to write more of them. The objects.js file contains several challenges centered around a theme of interns starting at a new job. The Human Resources team needs information about the new hires. Use your new found object skills to answer vital questions for HR.

  • Read the instructions found within the file carefully to finish the challenges.
  • Complete each challenge presented before moving on to Arrays.

Arrays

The arrays.js assignment takes us through a large data set of used cars. You have been asked to help a used car business with some customer requests based on their inventory. Use for loops and arrays to solve their problems.

  • Utilize the the array inventory to complete your challenges.
  • You can't use map, reduce, or filter to solve these problems. Only use native JavaScript for loops.
  • Complete each challenge presented before moving on to Callbacks.

Callbacks

  • In the callbacks.js file you'll be receiving a lot of practice on how to use callbacks to pass around data.
  • Write out each function using the ES5 function keyword syntax.
  • Remember that a callback function is simply a function that is being passed around to other functions.

Stretch Task - After you're done with all of the functions, go ahead and re-factor all of them to use ES6 Arrow Functions

About


Languages

Language:JavaScript 100.0%