JavaScript exercise 16


#1

Can someone please help?

I keep getting an error saying "Oops, try again. It looks like your if/else statement didn't log "The condition is false" to the console."

However, the statement DID log and Ive checked it several times.

if ("Oliver".length > 7)
{
console.log("You have a long name")
}
else
{
console.log("You have a short name")
}


#2

yes, but you should log the string the exercise wants you to log (the condition is false)


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.