What did I do wrong?


#1

My code is:
// Declare a variable on line 3 called
// myCountry and give it a string value.
var "myCountry" = "Potato";
// 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

Your variable name should not be in quotation marks. Only the string you assign to that variable should be in quotation marks.

Example:
var myCountry = "Potato";