Please enable JavaScript to use CodeHS

Chapter 2

JavaScript Control Structures

2.1 Booleans

Booleans Overview

First Boolean

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Do You Have a Cat?


Term Definition
Boolean A boolean is a true or false value.
Variable A symbol or container that holds a value.