This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
over 8 years

28/28 The else condition keeps coming up

I’ve tried to change everything I can think of but no matter what it always prints out the else condition.

if(“done”<12) {console.log(“I finished my first course!”); } else{ console.log(“I didn’t do it right”) }

Answer 56154811b62548f9070001c6

1 vote

Permalink

try using .length

points
Submitted by Eoin Ó Murchú
over 8 years

1 comments

Instead of using the less than operator.