Tip
You should always do the prep work before attempting the coursework. The prep shows you how to do the coursework. There is often a step by step video you can code along with too. Do the prep.
There are some tools that will help you to write code. One of these, Prettier, formats your code, making it easier for you and others to read. Another tool, Jest, is a test runner that will turn on Test Explorer in Visual Studio Code.
- Open this repository in Visual Studio Code
- Accept the prompt to install the recommended extensions
- In Visual Studio open the settings file (see https://code.visualstudio.com/docs/getstarted/settings#_creating-user-and-workspace-settings)
- Search for
editor format
- Set
editor.formatOnSave
andeditor.formatOnPaste
to true
- Open the terminal in Visual Studio Code
- Run
npm install
in the root of this repository