Run npm i
to install 3rd party libraries.
Run npm run <problem number>
to run a specific problem e.g npm run 1
Write your solution for each challenge in the solution.js
file.
LANGUAGE: Only, if, search, match, find, where, when, check
if (name === "Aisha") {
goToFront();
}
if (accountBalance > 0) {
makePayment();
}
LANGUAGE: Search, Lists, each, every, the rest, all
for(i = 0; i < list.length; i++) {
makeSalaryPayment();
}
const tracker = 0;
while(thereArePeople && !AishaFound) {
searchForAisha();
tracker = tracker + 1
}
LANGUAGE: inputs, store for later
Do stuff for you and are reusable
- Write it in english (identify inputs and outputs), the how matters
- Notice the terminology/ language you are using
- Match it to the above programming constructs
- Write code