Skip to content

wSedlacek/JS-array-method-practice-for-WEBPT-students

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Array Methods Question Set

The following javascript questions may be answered with array methods. These are not limited to .forEach, .map, .filter or .reduce.

Explore MDN or w3schools to learn more.

These questions are selected from a set of exercises from a free repl.it classroom by devmakers.

To run the tests:

  • Inside of the root folder, run command npm install to install node packages
  • Open index.js to find the javascript functions to complete
  • Instructions are found inside each function
  • Run npm run test to automatically open index.html in a browser
    • After completing a function or enabling a new test, refresh the page for the test to run again
  • Open index.test.js and remove the x from each test suite you want to run
    • xdescribe (inactive) ---> describe (active)
    • The first test getAllElementsButNth is already active for you as an example
  • There are multiple unit tests testing edge cases and other expectations for each function to be completed
  • Active tests will be red until you complete the function
  • Once you fulfill the requirements for the tests, you will see green dots, hooray!

About

Basic building block questions for javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • HTML 1.5%