Quiz: Make Decisions
Explore your understanding of JavaScript decision-making concepts through a beginner-friendly quiz. Learn to apply if, else if, and else statements to control program flow based on conditions. This practice strengthens your foundation before moving on to coding mini-projects.
We'll cover the following...
We'll cover the following...
...
Technical Quiz
1.
A student writes:
if (temperature = 100) {
alert("It's hot!");
}
What’s the mistake?
A.
100 should be in quotes
B.
if can’t use variables
C.
= should be ===
D.
alert can’t be used in if blocks
1 / 3
...