Comparison of 2 numbers in JS


#1

My instruction is comparing the string's length to see if it is greater than 10. Could you please identify what's wrong with my code? 11th https://www.codecademy.com/en/courses/getting-started-v2/1/6?curriculum_id=506324b3a7dffd00020bf661

"I'm coding like a champ";
"I'm coding like a champ".length;

if ("I'm coding like a champ".length>10) 
{
    console.log("True")
}


#2

You just need only part of this code:

"I'm coding like a champ".length>10

Remember to carefully follow the instructions.


#3

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