Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 2.49 KB

README.md

File metadata and controls

35 lines (31 loc) · 2.49 KB

Web Development Bootcamp Notes

November 2021 cohort - Lighthouse Labs


Assignments 📚🙇🏻‍♀️📚

Functions, Arrays, and Loops

  1. Lunch - refactor the function w/ 2 paramenter (boolean, number) to return console suggestion for taking lunch or not
  2. Min value - return the min value from an array
  3. Join Array String - join the strings in an array together, seperated with a ',' between them
  4. Roll 6-sided Dice - Get an array of random number from 1 -> 6 based on the input (number of time) from command line
  5. Music Library -
---- Callbacks Intro ----
  1. findWaldo - use loop and call a function from other function to loop through a string array to find 'Waldo'
  2. findWaldo - forEach() - replace loop and put .forEach() into practice
  3. findWaldo - Anonymous Func - use forEach() to loop and apply anonymous func practice
  4. .map() Func - super simple practice
  5. .filter() Func - super simple practice
  6. Swapper - pair programming | swap the values of 2 objs with each other using their keys
---- Recursion Intro ----
  1. Nested Array - apply recursion to loop through nested arrays (doesn't matter how nested the array is)
  2. Sum - apply recursion to return sum of numbers
---- Mocha and Chai Test Intro ----
  1. Palindromes Check - implement the function to check if the string is palindromes then check with mocha and chai test

Asynchronous Flow

  1. setTimeout Func - super simple practice
  2. Typewriter String - animate the string to look like it's being typed out by revealing one character at a time with setTimeout() and process.stdout.write.
  3. Spinner - animate the symbol string to look like it's spinning with setTimeout(), process.stdout.write, and \r.