Setup

NodeJS and npm

NodeJS is an app which lets you run JavaScript code

npm is the Node Package Manager, automatically included with NodeJS, which lets you easily download other peoples' code

Go here and follow the instructions for your computer: https://nodejs.org/en/download/

Untitled

Side Quest: test out NodeJS

  1. Open up a terminal

    it should look something like this:

    Untitled

  2. type node and press enter

    Untitled

  3. you can run javascript here! for example:

    Untitled

Don't worry about what any of that means yet. This just means you installed everything correctly.

This is a useful tool for just seeing what happens if you try different commands.

Download example code

Download this zip: https://github.com/gathertown/intro-to-programming-mod/archive/refs/heads/main.zip and put it wherever you feel like.

Remember where, we'll use it in a minute.

VSCode

Visual Studio Code is a fancy code editor. Install it here: https://code.visualstudio.com/download, and open it.

Untitled

Project setup

Click File > Open Folder, and open that example code you downloaded before (intro-to-programming-mod)