JavaScript -- Getting Started - 14. Decisions, decisions -- Description says longer, but code example shows >=

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/getting-started-v2/2/3?curriculum_id=506324b3a7dffd00020bf661

<In what way does your code behave incorrectly? Include ALL error messages.>
Say we want to write a program that asks whether your name is longer than 7 letters. If the answer is yes, we can respond with “You have a long name!”

```

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

<do not remove the three backticks above>

The example just shows you the syntax, how to format the if statement.

You need to follow the instructions and use example as a guide for the syntax

1 Like

I understand what the intention is. My point is that the example code should say

If( “myName”.length > 7) to match what the description says or the description should say

“Say we want to write a program that asks whether your name is longer than 6 letters.”

The code doesn’t match the text.

1 Like

Verified. I moved your topic to #Codecademy-Community-Lounge:Codecademy-Platform-Problems-and-Suggestions.