0Pricing
Javascript for Kids · Lesson

And, Or, Not

Combine conditions to make decisions.

Super Boolean Powers! 💪

Now we mix booleans together to make new answers! 🎉

We use three magic helpers: AND, OR, and NOT.

AND Means Both 🤝

&& means AND. Both things must be true!

Sunny AND warm = perfect day! ☀️

let sunny = true;
let warm = true;
console.log(sunny && warm);

All lessons in this course

  1. True and False
  2. And, Or, Not
  3. Asking Yes or No Questions
  4. A Simple Quiz Checker
← Back to Javascript for Kids