-
Install the VSCode ESLint and Prettier Extensions (if they aren't already installed).
-
Fork the repository to your personal GitHub Account
-
git clonethe forked repository andcd(change directories) so you are in thettp-2023-javascript2directory in your terminal. -
Once you've changed directories into the repository folder, execute the command
npm installin your terminal. This installs the necessary packages for the test specs to run. -
In the terminal, run the comman
npm test. Once initiated, head tohttp//localhost:8888. This is where the list of test specs will be located.
Note: the npm commands need to be executed inside of the ttp-2023-javascript2 directory.
-
Review each problem carefully. Instructions for each are in the
${num}_instructions.md. To run the markdown preview, useCMD + SHIFT + Von Mac, orCTRL + SHIFT + Von Windows. -
Write your solution code in the
${num}_solution.jsfile. -
Run the test specs to test your code.
Once you've passed all test specs, commit your changes and push them to your repository on GitHub to be graded by your instructional team.
Once again, please make sure to PUSH all of your work to Github, you can verify that your code is on your repository by visiting your Github Account and checking the repository.
Example
$ git add -A
$ git commit -m 'completed exercises'
$ git push origin main
Good luck!