# 3 Function Syntax lesson


#1

Hello, I keep getting error messages, and I can't figure out what's going on, first my syntax is off, and then I didn't call the greeting function with a name. Can someone assist me with this?

-Melissa

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 (name) {
    console.log("Great to see you," + " " + name);
};

// On line 11, call the greeting function!
var greeting = function(Kate) {
    console.log("Hi,"+"Kate")
}


#2

check this
how to call a function


#3

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