Skip to content

Latest commit

 

History

History

lesson_02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Lesson 02: Developer Workflow: Navigating the Terminal (Slides)

Pre-work

Please review the following resources before lecture:

Homework

Prerequisites

To complete this assignment, you must have Docker and VS Code with the Dev Containers extension installed.

Lesson 02 Quiz Instructions

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:

  1. Make sure to sync your fork to pull in the latest changes.
  2. Open the project in VS Code and make sure to select Reopen in Container when prompted.
  3. 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
  1. Open the lesson2.ts file located in the quiz/src/ directory.
  2. Update the code to provide the correct answers to the given questions.
  3. When ready to test, run the following command in the quiz sub-directory using the terminal:
npm run test
  1. Once all tests pass, submit your work by creating a pull request (PR).