Cant Find Error


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-6LzGd/0/4?curriculum_id=506324b3a7dffd00020bf661


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


#2

Dont put arguments of a function in quotes and you need to call your function

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


#3

Hi the name of your function should be foodDemand so it should b elike that

var foodDemand = function() {
    #here do something
}

then should have as argumant food so it should be like that

var foodDemand = function(food) {
    #here do something
}

Then you should print inside the function foodDemand console.log("I want to eat" + " " + food); don't need of the " " around food

so ir will be like that

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

then you should call the function with your food name like that

foodDemand("Here type your food name")

Hope that ciould help you