5. Tying it all together -Help please!


#1


Figured it out, the problem was in the code above this, as the example, not with my code.

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

Oops, try again. You didn't put quotes around the name you gave the greeting function!


var greeting = function (name)
{
    console.log("Hello " + name);
};
greeting("John")


#2

I copy/pasted your code into the exercise (Thanks for the link!) and it worked for me. Not sure why it's giving you that error.


#3

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