What am I doing wrong?


// Click on "Stuck? Get a hint!" if you get stuck!

var names = ["Asf","Asdf","Asdf", "ASdf", "ASdf"];

for(var i = 0; i < name.length; i ++) {
console.log("I know someone called " + names[i]);

I get this as my error:

Oops, try again.
Your code should have printed 'I know someone called Asf', 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!


Have you tried
++++ reset of session *****************
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser


Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).


Yes, that worked. Thanks