Stuck on recap


11.Functions recap

its wants it to show sussie but i won't

var nameString = function (name) {
return " hi i am "+" "+ name;



Whats wrong with that one?


nameString() function doesn't return 'Hi, I am Susie' for the name Susie.


You have to return text formatted exactly like in the instructions:

return "Hi, I am " + name;


i just got to that lesson and i think that your mistake is tu write "susie" instead of "pon"
can you help me and tell me how to make space between " hi i am" and name;


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

look, i´ve jus figured it out


this is still not working for me, could you explain how the function worked for you, please


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.