Visual Studio Code#

In these materials we will be using Visual Studio Code to write HTML and JavaScript files. Visual Studio Code (often abbreviated to VS Code) is open source software that is available for Windows, macOS and Linux operating systems.

../_images/P_VSCode.png

Install Visual Studio Code#

  1. Go to the Visual Studio Code website.

  2. Download and install VS Code for your operating system.

  3. Open VS Code once installation is complete.

Install the Live Server extension#

Live Server allows you to run web pages locally and automatically reload them when files change.

  1. Open Visual Studio Code

  2. Click the Extensions icon in the left sidebar (or press ctrl + shift + X on Windows or Linux, or + shift + X on macOS)

  3. Search for Live Server

  4. Install Live Server by Ritwick Dey

Once installed, VS Code may prompt you to reload.