Error in Functions Recap


#1


Hey guys! I'm kinda stuck here.


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


The code I put works exactly how the instructions want it to, it even prints out the desired result! however when I click the submission button it says that my function does not input 'Hi, I am Susie' for the name 'Susie'.

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

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


#2

there is no comma (,) after Hi?


#3

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