25 Variables - help with code


#1

I'm stuck on section 25 Variables, I've checked other posts on the forum but can't seem to get the correct answers.
https://www.codecademy.com/en/courses/getting-started-v2/4/2?curriculum_id=506324b3a7dffd00020bf661#

So far I've tried:
// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry="New York";
// Use console.log to print out the length of the variable myCountry.
console.log("myCountry".length);
// Use console.log to print out the first three letters of myCountry.
console.log(myCountry.substring(0,3));

I'm getting error Oops, try again. It looks like you didn't log the length of myCountry to the console.
Do I need another line under line 3 logging the length of myCountry?

many thanks


#2

myCountry shouldn't be in quotes


#3

thank you, one thing i hadn't tried!


#4

New York is not a country.