I need help with 4/13


#1

var foodDemand = function(Food)
{
console.log("I want to eat" + " " + "Food");
};
foodDemand = ("Pizza");

I'm not sure what I did wrong here and I need help.


#2

shoule be

var foodDemand = function(food){
                    console.log("I want to eat" + " " + food);
                };
foodDemand("Pizza");

#3

The important parts are that here:

console.log("I want to eat" + " " + "Food");

Food needs to be a variable instead of a string (get rid of the "" around it). Because now you would print "I want to eat Food" instaed of using the argument "Pizza". And the second thing is that this:

foodDemand = ("Pizza");

replaces foodDemand with "Pizza" so to call the function just use functionName(argumentValues) without the = in between.