There are two possible ways to submit your project. Your instructor should have communicated which method to use for this project during the Guided Project and in your cohort's Slack channel. If you are still unsure, reach out to Lambda Staff.
- Fork and clone the repository.
- Open the assignment in Canvas and click on the "Set up git" option.
- Follow instructions to set up Codegrade's Webhook and Deploy Key.
- Push your first commit:
git commit --allow-empty -m "first commit" && git push
. - Check to see that Codegrade has accepted your git submission.
- Fork and clone the repository.
- Implement your project in a
firstname-lastname
branch. - Create a pull request of
firstname-lastname
against yourmain
branch. - Open the assignment in Canvas and submit your pull request.
- For Exercises 1-7 inside
index.js
:- Write the tests in
index.test.js
. - Implement the function or the class in
index.js
.
- Write the tests in
- Run
index.js
with Nodemon executingnpm run dev
. - Run tests locally with Jest executing
npm test
. - You can add console.logs to
index.js
to manually test your code. (e.g.console.log(car.drive(10));
). - The output of your log statements can be found in the terminal you run
npm run dev
in.
- You will need to brush up on your JavaScript and use the Jest documentation to solve this challenge.
- Do not alter your
package.json
file except to install extra libraries or add extra scripts. - In your solution, it is essential that you follow best practices and produce clean and professional results.
- Schedule time to review, refine, and assess your work.
- Perform basic professional polishing including spell-checking and grammar-checking on your work.