#25 Javascript Help!


I'm enrolled in the JavaScript program and I can't get this one to work.
Here is the code:
/ Declare a variable on line 3 called
// myCountry and give it a string value.
var myCountry = "Canada";
// Use console.log to print out the length of the variable myCountry.
console.log(var myCountry.length);
// Use console.log to print out the first three letters of myCountry.
console.log(var myCountry.substring(0,2));


Hey @lucharb3! Your problem is when you print it print it like this;


not like with the var on it since you already inialized it.

Same with the other one..


Hope it worked if it didnt Just reply saying so and ill do my best to help! Cheers!