It claims that I haven't declare a variable called MyCountry but I did at the top does anyone have solution?

// Declare a variable on line 3 called
// myCountry and give it a string value.
var MyCountry = "hijosh";
// 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));