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
- Making Questions
- Checking Answers
- Keeping Score
- Final Score