Error! PLZ HELP!


#1



This is my code below:
Code

The error message keeps on saying : Oops, try again. It looks like you didn't put quotes around the food you gave foodDemand! Can you plz help?

var deeznuts = function(Food){
    console.log("I want to eat" + " " + food);
    
};
deeznuts("lasgna");


#2

First, the instruction asked you to declare your function and call it foodDemand.
But on your code you declared your function as deeznuts.

Second, you call your parameter as Food, but on your reusable block of code, you use food instead of Food. it is indeed a case sensitive scenario.

Hope this helps.


#3

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