6. Booleans - Stuck on this, error message


I'm stuck getting this to see if the string's length is greater than 10. Where am I going wrong with this code?

document.write( "I'm coding like a champ" );
"I'm coding like a champ".length > 10


Hello @matthew_lamb,

In your case, you need to put the condition that checks the length of the string inside of the document.write() function. Hope this clears your problem!


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