How to declare


#1


somebody tell me where i've gone wrong


#2

Remember, the console is looking for an EXACT match for variables.

you're using "fooddemand" when it's looking for "foodDemand".

Secondly delete the first var fooddemand = (fooddemand) line.

Lastly!

I know where you are going with this, unfortunately you're looking at it the wrong way,

var foodDemand = function(food) {
    console.log("I demand to eat" + " " + food);
};
foodDemand("Pie, or Apples, or Some type of parameter that will be 'food' in the function.")

#3

thanks i've worked it out