foodDemand Syntax error


I cant figure out why i keep returning a syntax error, my code is listed below

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


This little semi colon seems to be the bugger. Also, just to note, you don't have to put anything where pizza is in your code. That space is there to just separate your previous statement from the one that will be put in which in your case is pie.


Thank you sooooo much!!!!


No problem! Happy coding! :smiley:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.