It keeps saying "Looks like your code didn't log the third element of the languages array. Remember that array indexes start from 0" I looked and all the words appear I am not sure what I did wrong.

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];

for(i=0; i<languages.length; i++){


The semi-colon at the end of this statement is the problem.


I think you did not define i, like for (var i=0)


If you run this loop, it will log every element of the array to the console. Since the instructions want the 3rd element logged, you can try something like:



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.