Conditionals in JavaScript: deciding, selecting, and checking
Free practice: progress remains only while you stay on this page.
Checking your account to restore the correct progress…
Codi · Your learning companion
UNDERSTAND · PRACTICE · APPLY
Learn at your own pace
I'm Codi, your companion in these lessons. Explore ideas with examples and practice at your pace.
Learn if, else, else if, compound conditions, nesting, switch, and the ternary operator. Build readable decisions and check registrations and discounts through scenarios and boundaries.
You do not need to answer every question correctly to complete a lesson.