- In VSCode, open the extensions menu in the left sidebar
- Search and install “ESLint”
- Search and install “Prettier - Code formatter”
- Go to https://github.com/Stanford-W3Lab/Lecture-2 and fork the project
- Open a new VSCode Window, a Get Started page should show up
- Click on “Clone Git Repository”
- Select “Clone from GitHub”
- Type in “YourGithubUsername/Lecture-2” and clone the repository
- Open the repository in the VSCode window
- Open a new VSCode terminal window (Terminal > New Terminal or drag from bottom of screen)
- Install yarn:
sudo npm install -g yarn - Type
yarn installor justyarn
- Type
yarn javascriptto start the JavaScript part of the project - Type
yarn typescriptto start the TypeScript part of the project