0Pricing
Javascript for Kids · Lesson

Checking Answers

Compare answers.

Is It Correct? 🤔

A quiz needs to know if the player got it right or wrong! Let's learn how to check. ✅❌

console.log('Let us check some answers! 🤔')

The Equals Check ⚖️

To compare two things we use === (three equal signs). It asks: are these the SAME? ⚖️

console.log(5 === 5)
console.log(5 === 8)

All lessons in this course

  1. Making Questions
  2. Checking Answers
  3. Keeping Score
  4. Final Score
← Back to Javascript for Kids