Is this right?


#1

if ("Myname".length >=7 ) {
console.log("You have a long name!");
}
coming up as error?


#2

What does it currently do?
What do you want/expect it to do?
And if there's an error, then what is it? It's telling you why it isn't accepting your code, that seems very relevant.


#3

Oops, try again. Make sure you've put a condition in line 1 that is true. thats the error


#4

Okay... Have you done what that error says you should make sure to have done?


#5

"myname" is a string and its length is 6, it is not bigger or equal to 7, so the condition is not true.