JavaScript Foundations · Lesson 4 of 10

Basic operators

Use simple JavaScript operators to combine, compare, and change values in readable beginner examples.

Starter 4 practice exercises 1 homework item

What you will learn

  • Use simple JavaScript operators to combine, compare, and change values in readable beginner examples.
  • Recognize basic math and comparison operators without overload.
  • Understand that operators are symbols that do small jobs with values.

Lesson shape

14 minute lesson with 11 sections, 4 exercises, 8 checkpoint questions, and 1 homework submission.

This track requires the Starter plan.

Lesson outline

What this lesson includes

This lesson is available with the Starter membership. Create an account to open the full student player, exercises, quiz, and completion tracking.

Overview

What you will learn in this lesson

Full lesson content unlocks in the student player.

Explain

What an operator is in plain English

Full lesson content unlocks in the student player.

Explain

Math operators first

Full lesson content unlocks in the student player.

Explain

Comparison operators next

Full lesson content unlocks in the student player.

Practice

Tiny example 1: adding numbers

Full lesson content unlocks in the student player.

Practice

Tiny example 2: combining text

Full lesson content unlocks in the student player.

Practice

Tiny example 3: simple subtraction

Full lesson content unlocks in the student player.

Practice

Tiny example 4: a simple comparison

Full lesson content unlocks in the student player.

Explain

What the operator is doing to the values on each side

Full lesson content unlocks in the student player.

Explain

Common beginner mistakes with operators

Full lesson content unlocks in the student player.

Wrap up

Short recap before lesson 5

Full lesson content unlocks in the student player.

Homework

Assignments attached to this lesson

Text response

Basic operators: quick check

Write a short beginner explanation of the main idea from Basic operators.

Not started

Open homework