04 Oops, try again. You did not declare foodDemand!


#1

Please tell me what I did wrong. I've searched everywhere and found no answers to my problems.

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

#2

@boardrunner95868,
You will have to change the call of the foodDemand() function
from your

 foodDemand=("chicken");

into

foodDemand("chicken");

and you will probably have to =reset= your Broswer

++++ reset of session *****************
As you are manipulating with objects
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom