I'm stuck on number 14


#1

I need help on it this is what I have put down so far, whats wrong?

if( "myName".length >= 7) ) {
console.log("You have a long name!");
}


#2

@itzaaronz,
Maybe ....
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom


#3

You have 2 closing parentheses in the first line:

if( "myName".length >= 7) ) {
console.log("You have a long name!");
}


#4

if ("eli".length=3)
{
console.log("you have a long name");
}


#5

@elicanollie, one "=" is used to assign a value to a variable. Your expression should use "===" in order to return true.


#6

if ("my name".length > 4)
{
console.log("you have a long name");
}

Pls can someone tell me what is wrong with my code. it's not returning a print out. Thanks