Please send help


#1


https://www.codecademy.com/courses/learn-javascript/lessons/loops/exercises/for-loop?action=lesson_resume


it says "Did you console.log vacationSpots[i] within the for loop?"

I have the code right. Please send help. I don't know what is going on and I'm scared. ;-;


var vacationSpots = ['Paris', 'New York', 'Barcelona'];

for (var i = 0; i < vacationSpots.length; i++) {
  console.log('I would love to visit ' + vacationSpots[i]);
}


#2

Your code is correct. Try to refresh browser or reset code and try again.


#3

I tried that. Didn't work. 12 refreshes later, it worked. Thank you.


#4

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