Need help with exercise 25


I get the message "it looks like you didn't log the length of myCountry to the console" after submitting . I'm not really sure what the problem is (I'm probably staring at it)

// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry = "United States";

// Use console.log to print out the length of the variable myCountry.

// Use console.log to print out the first three letters of myCountry.


your code is right just remove " for console.log("myCountry".length); and console.log("myCountry".substring(0,3));

console.log("myCountry".length); should look like this console.log(myCountry.length);