Please enable JavaScript to use CodeHS

Video Game Design in JavaScript (2022)

Lesson 2.6 Booleans

Description

Booleans refer to a value that is either true or false. Named after English-born mathematician, philosopher and logician, George Boole, Booleans are used to test whether a condition is true or false.


Objective

Students will be able to…

  • Create boolean variables to represent meaningful yes/no values
  • Print out the value of a boolean variable

Activities

These are all the activities included in the lesson

2.6.1 Booleans
2.6.2 Booleans Quiz
2.6.3 First Boolean
2.6.4 Do You Have a Dog?