What is wrong ?Arrays and Objects in JS


#1



`var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
console.log (languages [3]);

Oops, try again. Looks like your code didn't log the third element of the languages array. Remember that array indexes start from 0.

`


#2

Hi now you are printing the fourth element since it start counting from index 0.


#3

some times i'm blind


#4

some times i'm blind thank you


#5

There's nothing wrong in your syntax but in this exercise they want us to print javascript in the console so to execute you need to write...

solution:
var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
console.log (languages [2]);


#6

thank you you're rigth