Lesson 02: Developer Workflow: Navigating the Terminal (Slides)
Please review the following resources before lecture:
- Complete Lesson 02 quiz
- Do pre-work for lesson 03.
To complete this assignment, you must have Docker and VS Code with the Dev Containers extension installed.
For this assignment, you will complete a quiz by modifying a TypeScript application. Within the quiz project, there are tests that you will need to make pass in order to submit your answers. Here are the instructions for completing the assignment:
- Make sure to sync your fork to pull in the latest changes.
- Open the project in VS Code and make sure to select
Reopen in Container
when prompted. - Navigate to the quiz directory and install the required dependencies.
cd lesson_02/quiz
npm install --prefix ../../lib/javascript/codedifferently-instructional
npm install
npm start
- Open the lesson2.ts file located in the quiz/src/ directory.
- Update the code to provide the correct answers to the given questions.
- When ready to test, run the following command in the
quiz
sub-directory using the terminal:
npm run test
- Once all tests pass, submit your work by creating a pull request (PR).