4 - Iterating over an array!



Oops, try again. It looks like you didn't log 'HTML' to the console!
Been battling this one for ages, I can't work out what's going wrong :frowning: please help :smiley:

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

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


you have a semi-colon after i++) which interrupts the loop, remove the semi-colon.


Thanks so much!! Works fine :smiley: