it keeps saying
Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie.
but im pretty sure im doing it right
var nameString = function (name) {
console.log("Hi, I am" + " "+ name + ".");


To return something, you must do :
return "Hi, I am" + " " + name + ".";

:smiley: :smiley: :smiley: :smiley: :smiley:


hey y'all,
I'm starting to get really confused, as i've been trying to write the code, but alway seem to be doing it wrong. If someone could pleease just take a look at it and tell me what' wrong with it, i'd be very happy.
Here's my code:

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



You forgot a ) in the last line, one for the function call and one for the console.log call makes 2. Also this line:


just calls the function but you do nothing with the returned value so you might as well delete it. Btw "Susie" is just the name of a test case you could pick any other if you like as long as the code is working and by picking "Susie" you don't fool the test function :wink: