This README will guide you through the different sections for this sprint.
Make sure your terminal is in the Sprint-2
directory of this repository.
Run the command npm install
to install any dependencies you need.
Each of the files in debug
contains a 🐛. Predict and explain first and then run the code with node to check your prediction. Fix any bugs that appear in the code.
In this section, you will have a short set of requirements about a function. You will need to implement a function based off this set of requirements. Make sure you check your function works for a number of different inputs.
Here is a recommended order:
contains.test.js
lookup.test.js
tally.test.js
querystring.test.js
In these tasks, you have to interpret a slightly larger program with some syntax / operators / functions that may be unfamiliar.
You must use documentation to make sense of anything unfamiliar - learning how to look things up this way is a fundamental part of being a developer!
You can also use console.log
to check the value of different variables in the code.
Once you've completed all these tasks, raise a PR with your work so far. Don't wait to complete your coursework before completing the PR.
Try the stretch tasks after you've completed the other sections.