No Quotation marks but I have quotation makes


Introduction to functions in JS
Meet the Functions
4. How does the function work?

Below is the function that I entered. I am getting a error code that states "Oops, try again. It looks like you didn't put quotes around the food you gave foodDemand!"

I am confused because my food demand is apple and I put "apple". What am I missing?

Thanks for any help!

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


Got it!!

I needed to put foodDemand


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