It looks right and seems to work, but all that is coming up is a message of "Did you create a function called nameString() ?" what am i doing wrong?


var nameString = function (name) {
return nameString = "Hi, I am" + " " + name;



Are you trying to return or assign to a variable?
If both, what does that accomplish?


To return the result of a function, you don't need the "nameString" variable again. Just say:

return "Hi, I am" + " " + name;