I’m stuck on section 25 Variables, I’ve checked other posts on the forum but can’t seem to get the correct answers.
So far I’ve tried:
// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry=“New York”;
// Use console.log to print out the length of the variable myCountry.
// Use console.log to print out the first three letters of myCountry.
I’m getting error Oops, try again. It looks like you didn’t log the length of myCountry to the console.
Do I need another line under line 3 logging the length of myCountry?