JavaScript Foundations · Lesson 3 of 10

Strings, numbers, and booleans

Meet three value types beginners see constantly in JavaScript: text, numbers, and true-or-false answers.

Starter 4 practice exercises 1 homework item

What you will learn

  • Meet three value types beginners see constantly in JavaScript: text, numbers, and true-or-false answers.
  • Tell strings, numbers, and booleans apart in tiny examples.
  • Understand where each value type fits in calm beginner code.

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 a string is in plain English

Full lesson content unlocks in the student player.

Explain

What a number is in plain English

Full lesson content unlocks in the student player.

Explain

What a boolean is in plain English

Full lesson content unlocks in the student player.

Practice

Tiny example 1: a string value

Full lesson content unlocks in the student player.

Practice

Tiny example 2: a number value

Full lesson content unlocks in the student player.

Practice

Tiny example 3: a boolean value

Full lesson content unlocks in the student player.

Explain

See the three value types side by side

Full lesson content unlocks in the student player.

Explain

Why booleans matter even if they feel unfamiliar

Full lesson content unlocks in the student player.

Explain

Common beginner mistakes with value types

Full lesson content unlocks in the student player.

Wrap up

Short recap before lesson 4

Full lesson content unlocks in the student player.

Homework

Assignments attached to this lesson

Text response

Strings, numbers, and booleans: quick check

Write a short beginner explanation of the main idea from Strings, numbers, and booleans.

Not started

Open homework