scrimba
Frontend Career Path
Making websites interactive
Blackjack
Your first if...else statement
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Your first if...else statement
Expand for more info
index.js
run
preview
console
// Check if the person is old enough to enter the nightclub (21)
// Log a suitable message to the console in both cases

let age = 22

// if less than 21 -> "You can not enter the club!"
// else -> "Welcome!"

Console
15
,
/index.html
-2:53