I am having trouble on a lesson in Javascript


What am I doing wrong or what does the error message mean?


"string" has a length of 6, not 9


"myCountry" is a string. myCountry is a variable. So, "myCountry".length and myCountry.length have two different meaning.


In lines 6 & 9, remove the " " from myCountry and see if this helps


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