Console.log is not printing anything


I keep getting the same error. Could someone tell me what I'm missing?

Error Message: Oops, try again. It looks like you didn't print anything to the console.


Declare your function and call it foodDemand.
You can call the parameter anything you like. But we'll call it food because that is the thing that is going to change each time we call the function.
Your reusable block of code follow this. Surround it with the right brackets. The code you want to repeat is: console.log("I want to eat" + " " + food);
Call the function and put in a specific food you want!

My Code:

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


A function only runs if you call it and as you put your function call foodDemand(Pizza) inside your function this applies to this statement as well. So to run the function move this line after the }; and thereby out of the function. Also Pizza should probably be a string.