Help! lesson 25


#1

Can anyone help why I'm getting this response.

"Oops, try again. It looks like you didn't log the length of myCountry to the console."

This is what I've typed.

// Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry = "Australia"
// Use console.log to print out the length of the variable myCountry.
console.log(myCountry);
// Use console.log to print out the first three letters of myCountry.
console.log(myCountry.substring(0,3));


#3

Thanks Maddox, saw the error of my ways. Corrected it and all sorted.