You did not call the foodDemand


#1

How to call the foodDemand?? Help Plz...


#2

Well remember how functions work? Let's run back through that real quick and see if we can't get you your answer!

function foodDemand ( parameter ) {
    //code here!
}

That should be similar to what your function looks like correct? that or this:

var foodDemand = function( parameter ) {
    //code here!
}

Well when you want to call your function it's really simple. Just use the variable, and send it a new parameter!

foodDemand("Pizza!");

So you're just calling your function and saying, "HEY, foodDemand! "Pizza!" is the new parameter you will use, so now do what you're coding tells you to!!