Stuck on #5, What am i doing wrong


#1

var greeting = function (name){
console.log("Welcome" + "" + " How are you");
function ("Waleed");
};


#2

you need to include the parameter 'name' within your console.log statement otherwise the name will never get called!

(Welcome+ " " + name+".' + " How are you?");


#3

You are attempting to call the function from within the function itself. Also, since you assigned the function to a variable, you call the function using the variables name. Try something like this instead:

var greeting = function (name){
   console.log("Welcome" + name + " How are you");
};
greeting ("Waleed");

#4

Your awesome thanks a lot