Function Malfunction!


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/3?curriculum_id=506324b3a7dffd00020bf661#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
It’s telling me that my code isn’t saying “Hi, I am Susie” but it IS! I don’t understand!

```

var nameString = function (name) {
return console.log(“Hi, I am”+" "+ name);
};
nameString(“Susie”);

<do not remove the three backticks above>

#2

Hi @textrockstar00818,

Yes, your code is printing correctly, but the instructions want you to write your code the way they asked in the instructions. Reread the instructions and try again. :slight_smile:


#3

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