JavaScript for Beginners

Lesson #2

Table of contents

  1. Setting Up Your Developer Environment
  2. Numbers and Math

Setting Up Your Developer Environment

For these lessons, we will be using repl.it, a powerful and simple integrated developer environment (IDE). Not only can we create our files and write some code and run it, but it also gives us neat features like auto-complete, code highlighting, and find-replace functions.

We'll want to start by making an account HERE!

repl.it sign-up page

Once you're done, you should be able to see a big blue button at the top of the page to let you create a new project.

repl.it home page

We'll be creating an HTML, CSS, JS project this lesson.

repl.it create project screen

The code editor automatically creates the HTML, CSS, and JS files that we need, and hooks the all up together for us! Click on the script.js file. Moving forward, we want to mainly work with the JavaScript file.

repl.it newly created project