Coding like a champ (Getting started with programming)



can someone tell me what went wrong here ?
document.write("i'm coding like a champ".length);
23 > 10

i keept getting an error message saying : Oops, try again. Check if "I'm coding like a champ".length is greater than 10 characters.

and the length is 23 ..



  • -01. First, write the string "I'm coding like a champ"
    "I am coding as a champ"

  • -02. Next, find the length of the string using .length
    "I am coding as a champ".length

  • -03. Then, compare the string's length to see if it is greater than 10
    "I am coding as a champ".length > 10