Javascipt 25/28


#1

Hey can someone tell me whats wrong with my syntax in this section?

var('myCountry')
var myCountry = "America"

console.log(myCountry.length);

console.log(myCountry.substring(0:3) );


#2

@bitace97261,
The var keyword, is the beginning of a statement with which
you create a variable
= https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var
So change your var('myCountry')
into var myCountry;

For your substring-problem
= http://discuss.codecademy.com/t/25-28-if-you-are-stuck-try-this/4513?u=leonhard_wettengmx_n