Did not log the length


I am working on this code, posted below, and the error message says that "It looks like you didn't log the length of myCountry to the console."

Anyone know what I left out?
Thank you.

// 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.


Use the console to print the length, I guess you have to use the var.length.
So in the case of the first substring you need to replace substring with length.


Yeah, I figured it out soon after I posted that. Just like I knew that I would.

Thank you for your time.