Help I don't know what is wrong?


#1

I am stuck with this line of code

    var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
for(i = 0; i >= languages.length; i++); {
    console.log(languages[i])
}

can someone tell me how to print all the languages?


#2

will never happen.

i < languages.length;

will.


#3

i typed that but then the console printed "undefined"


#4

Please post your revised code. Thank you.


#5

oh never mind i put the last semi-colon on line 3 in the wrong place it should have gone at the end of line 4 but thx for the help with out you I would not have seen it that way