Help


#1


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

Oops, try again. You did not call the greeting function. Pass it a name!
HELP

// Below is the greeting function!
// See line 7
// We can join strings together using the plus sign (+)
// See the hint for more details about how this works.

var greeting = function (Awesome) {
    console.log("Great to see you," + " " + John);
};

Awesome("John");


#2

You defined a greeting function and so you need to call that function, like this:

greeting("John");

Awesome is that parameter you intend to pass and not call. In this case, Awesome = John.

Hope this helps! :slight_smile:


#3

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