12. loops and arrays II


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-NhsaT/2/4?curriculum_id=506324b3a7dffd00020bf661#


var names = ["Sebastian", "Claude", "Ciel", "Alois", "Phillip"];

for (var i = 0; i < names.length; i ++) {
console.log("I know someone called " + " " + names[i]);
};
the coding correctly lists the names, but it still says it's incorrect and won't allow me to move on, what do I do?


Replace this line with your code.


#2

you have two spaces between called and names[i]:

I know someone called__Sebastian

i replaced them with underscores so you can see it. One space is sufficient.


#3

thank you soooo much