JavaScript exercise 16


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")
console.log("You have a short name")


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


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