4. Iterating over an array



Oops, try again.
It looks like you didn't log 'HTML' to the console!

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

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

how do i log HTML to the console???


instead say var i = 0. If you start at 4 then it is only going to log Ruby to the console because your basically saying start at 4 and log anything to the console after that.


Thank you so much! I'll go do that right now!


np, I'm glad to help :slight_smile:


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