11/13 help


#1

var cities = ["Melbourne", "Amman", "Helsinki", "NYC", "Agra", "London", "Kolkata", "Delhi"];

for (var i = 0; i < cities.length; i++) {
console.log("I would like to visit " + cities[i]);

where do i put the array??


#2

Your code looks good but you forgot at the end a closing curly bracket


#3

var cities = ["Melbourne", "Amman", "Helsinki", "NYC", "Agra", "London", "Kolkata", "Delhi"];

for (var i = 0; i < cities.length; i++) {
console.log("I would like to visit " + cities[i]);
}