25. More Variable Practice... HELP!


#1

// Declare a variable on line 3 called
// myCountry and give it a string value.

var myContry = "The Bahamas";

// Use console.log to print out the length of the variable myCountry.
console.log(myContry.length);

// Use console.log to print out the first three letters of myCountry.
console.log(myContry.substring(0,3));


#2

you misspelled country should be myCountry not myContry so change all of those and it should work


#3

thank you so much!! That was so silly of me... It worked.


#4

No problem! We all make mistakes like that! Glad to help!


#5