Please help! I am stuck on 25. More Variable Practice.
I get the following error message:
"Oops, try again. It looks like you didn't log the first 3 letters of myCountry to the console."
Here is my code: // Declare a variable on line 3 called // myCountry and give it a string value. var mycountry = "straya"; // 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));
What am I doing wrong?