> Need help coding?

Need help coding?

Posted at: 2014-12-18 
Codecademy teaches Javascript, not JAVA, there's a difference. The most obvious being that script in the name :D It was just a marketing move to name it after Java(from which it is a little bit inspired, alongside Self and Scheme, but that's not really very relevant).

This quite short book might add to your process of learning Javascript; give it a try: http://www.javascriptenlightenment.com/J...

String myCountry = "United Kingdom";

console.log(myCountry.length());

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

So I was using this great website called codecademy to learn java but I got stuck at a question. Can anyone help:

// Declare a variable on line 3 called

// myCountry and give it a string value.

// Use console.log to print out the length of the variable myCountry.

console.log( );

// Use console.log to print out the first three letters of myCountry.

console.log( );