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

bug-instructions
bug-composer
javascript

#1



https://www.codecademy.com/courses/getting-started-v2/2/3?curriculum_id=506324b3a7dffd00020bf661


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!");
}


#2

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


#3

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.


#4

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