I don't understand what's wrong please help


#1

This is the excercise i'm stuck on:
https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/3?curriculum_id=506324b3a7dffd00020bf661#

This is what error message i'm getting:
Oops, try again. Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie.

This is my code:
var nameString = function (name) {
return ("Hi, i am" + " " + name);
};
nameString("Linus")

This is what my code returns in the console:
"Hi, i am Linus"

Please help


#2

the i of i am should be uppercase, when calling your function make sure to log it to the console


#3

Thank you for answering.


#4

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