<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.>
Link to lesson:
https://www.codecademy.com/en/courses/learn-javascript/lessons/loops/exercises/manual-loop
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Instruction so far:
2. Next, console.log each item in vacationSpots on a separate line. To do this, list out each item using property access.
Error:
Did you console.log vacationSpots[0]?
My code:
var vacationSpots = ['asd', 'asda', 'asdasd'];
console.log (vacationSpots[0]);
console.log (vacationSpots[1]);
console.log (vacationSpots[2]);
Here’s how my code looked it:
I tried to reset it:
But it still has the same error:
Another attemp but still has the error