Exercise 3.2: For loop help


The instructions do not let me continue, even after replacing the console.log from the instructions directly into my code. Tried removing my array, as well as leaving it in.


There are no error messages, but the instructions do not let me continue...

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


you printed an additional string, this is what is causing the problem, just print the vacationSpots, not additional content


A post was split to a new topic: 3.2 for loop


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