Stuck at #3


#1

i don't know were i am wrong

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

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


#2

Try to remove the " " around John inside the console.log()


#3

in your case John here is a name of parameter, so in console.log you don need quotes

and in line 11 you just need to call the function. you already write it upward.
greeting("here_must_be_name");


#4

i still doesn't work i changed like you said
check it out see if there is any mistakes
and please write the whole code form me or im gonna f**k up again

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

// On line 11, call the greeting function!
greeting = (John) {
console.log("Hello" + " " + John);
}


#5

They aske you to call the function so try that

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

// On line 11, call the greeting function!
greeting("John")

#6

in line 11 you have to call the function, not to write it again. don't repeat yourself.
to call function you need to write the name of function and add parameter, if needed.
and you still have one extra " before John. :slightly_smiling: