For Loops II error


#1



Oops, try again. Your code should have printed 'I know someone called Lucas', but didn't. Make sure to type the 'I know someone called ' part exactly right, and don't forget the space between that phrase and the name!


var names = [" Lucas", " Matias", " Rodrigo", " Luis", " Sandra"]
for(var i = 0; i < names.length; i ++) {
    console.log("I know someone called" + names[i]);
}


#2

you forgot the space between the d and quotation mark


#3

Whoops! ¯_๏ ͟ʖ๏_/¯
I put the space on the data array!


#4

Looks like we both missed something.

Happens to the best of us

Happy coding


#5

Yep, thanks for the help!


#6