2/17 Make sure you log the 3rd element to the console


#1

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
var element = languages[2];\
I have no idea what I did wrong. Help


#2

You have to do this:

console.log(languages[2]);

Instead of that:

var element = languages[2];

Hope it helped! :smiley:


#3

so i have console.log(languages[2]); and it is giving me the error that 'console.log is not a function'


#4

Try refreshing: It works for me.


#5

Thanks it helped me.