I am having trouble on a lesson in Javascript


#1

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


#2

"string" has a length of 6, not 9


#3

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


#4

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


#5

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