scrimba
Intro to JavaScript
Challenge: If Statement Olympics - Part 2
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

Challenge: If Statement Olympics - Part 2
AboutCommentsNotes
Challenge: If Statement Olympics - Part 2
Expand for more info
index.js
run
preview
console
//Assignment - If Statement Olympics - Silver Medal

// Silver Medal
// 1 - Write an if/else if/else statement that prints "strict" if 1 strictly equals "1", prints "loose" or "abstract" if 1 equals "1" without type checking, and prints "not equal at all" if it doesn't print the other stuff.
// 2 - Write an if statement that prints "yes" if 1 is less than or equal to 2 AND (&&) 2 is equal to 4
Console
/index.html
-6:46