I don't know what I did wrong! Please help!


I have no idea what I did wrong. Can someone please help me? Thanks!


My code has the error message, "Oops, try again. It looks like you didn't put quotes around the food you gave foodDemand!"

Replace this line with your code. 
var food = function(string) {
    var foodDemand = console.log("I want to eat" + " " + food);



Your function is supposed to be called foodDemand, and not a variable, your function's parameter should be food, you don't need to create any variables anywhere, and you just need to console.log() your sentence inside the function with the given parameter :slight_smile:

(The error message was wrong)


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