Iterating over an array (what's wrong with this)


var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
var result = "";
for (var i = 1; i <languages.length; i++){
    result += languages[i]+" ";

It keeps saying it did not log "HTML" to the console ????


Try this


Inside your for loop.


Not sure you can just add strings together in javascript. There should be some kinda method for it