4 - Iterating over an array


#1



Hi,
I don't understand what's wrong with my code.
I have got this message error : Oops, try again. It looks like you didn't log 'HTML' to the console!
But 'HTML' appears on the console ...
Thanks !

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
for (var i = 0; i < languages.length; i++){
    console.log("I would like to learn " + languages[i]);
}


#2

try logging the languages without additional string


#3

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