Data that represents the gamesArray
parameter is located in the data
folder.
Please do not hard code data in your functions!
Start with the findGamesByGenre
question, which we will go over in class. If you have time leftover, or in your spare time, complete the getGameDetails
function.
SUGGESTION: Study the data first, before attempting to complete your functions
-
Fork and clone this repository into your
module-one
folder -
Open this repository in VSCode on your local machine
-
In your terminal, run
npm install
-
To test, run
npm test
or to test a single question usenpm test 01
ornpm test 02
-
Complete
findGamesByGenre
function and run the test. -
Complet
getGameDeatils
function and run the test.