Array of programming


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/0/4?curriculum_id=506324b3a7dffd00020bf661#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

think there is a bug because my code works.



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

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


#2

console.log(languages);

At each iteration you are just printing the whole array but you have to print out each element .

how can you access an array’s element?


#3

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