16. "It looks like your if/else statement didn't log ..."


#1

Hi what is wrong with my code ?

if ("michael".length >= 10)
{
console.log ("its like mike!");
}
else
{
console.log ("its not like mike");
}

i get this error:

"It looks like your if/else statement didn't log "The condition is false" to the console."


#2

Take note of what the error message is telling you.

It is saying that it is looking for you to log "The condition is false".

What are you logging?


#3

I just realised that's what it was asking for. Thank you


#4

11 posts were split to a new topic: I am still stuck at 16