3-4 java script, Could someone tell me what I did wrong?


#1

this is what I have:

var foodDemand = function("food") {

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

foodDemand("Baked ziti");

here's the error message:
Oops, try again. There was a problem with your syntax.


#2

The variable should not be in quotes:

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

// or

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

#3

First goes semicolon and then you close your function. And


This too