SyntaxError: missing ) after argument list


I can't find what the problem is. I've been stuck on this for 8 hours.

// Write your foodDemand function below.
// Last hint: In your reusable block of code, end each line
// with a semicolon (:wink:
var foodDemand = function (food) {
console.log("I want to eat + " " + food);


Oh you just forgot to end the qutation marks:

Here is your code:

and here is the fixed one

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

If it dosent work Please reply saying so, ill do my very best to help you! Thanks!


thank you ! i got it now !


No Problem ANy time!