Lesson 11 still getting the same message while the result is working


#1


My code for lesson 11 is 

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

console.log(nameString("Susie"));


the result is : Hi, I'am Susie

but I still get the message : Oops try again, it looks like your nameString() function doesn't return Hi, I'am Susie for the name Susie ....


#2

hello! It would seem that your ' between I and am is not necessary other than that it looks fine. I just ran the code also with that change and it passed successfully on my end


#3

Allright thank you !


#4

No problem! Happy coding!


#5

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