I pushed this code, for ‘for loops’ in the javascript exercise. It isn’t wrong, i have requested the right code, it was the same I had, but the error message keeps playing.
This is it
var vacationSpots = [‘Paris’, ‘New York’, ‘Barcelona’];
for (var i = 0; i < vacationSpots.length; i++) {
console.log('I would love to visit ’ + vacationSpots[i]);
}