Introduction to Functions-11. Functions Recap


It give me the following msg but It also prints - hi, I am Paul
Oops, try again. Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie.
Can anyone see the mistake I made?

Replace this line with your code. 
var nameString = function (name) {
	return "hi, I am" + " " +  name ;	


Hi your function should retun

return 'Hi, I am...

instead of

return "hi, I am"....


Hi should have a uppercase first letter, string which are returned generally need to be an exact match


This post was flagged by the community and is temporarily hidden.


Ya it's always something tiny. Thanks guys.


I am getting the same error and may "Hi " is uppercase no problem there, please help.


Please create a +New Topic with your code, lesson URL and error !