Who will help


#1

who can explain the problem:

this javascript:

// Declare a variable on line 3 called
// myCountry and give it a string value.

var myCountry;

// 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));


#2

The problem is when you reference your variables, you can't use quotations.
So, this:

console.log("myCountry")

Should be:

console.log(myCountry)

And the same with the substring.
You also never gave the myCountry variable a value.
For example:

myCountry = "United States"

#3

Thank you the code works


#4