Introduction to Functions-11. Functions Recap


#1



https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/3?curriculum_id=506324b3a7dffd00020bf661#


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 ;	
};
console.log(nameString("Paul"))


#2

Hi your function should retun

return 'Hi, I am...

instead of

return "hi, I am"....

#3

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


#4

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


#5

Ya it's always something tiny. Thanks guys.


#6

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


#7

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


#8