Problem with syntax


#1

I don't have a clue what the problem with the syntax could be. I followed the instructions exactly:
var foodDemand = function(food);
{
console.log("I want to eat" + " " + food);
}
foodDemand("peanuts");


#2

you closed the function at the end here with ; before it can even do anything else.

remove that and it will work,
(also missing a semicolon after the last }; <-- like so)