Its about functions how it works


Hi guys! Please I'm stuck here and I need some help. I don't know where I'm doing wrong here but it's kind like there's a problem somewhere somehow.

These are my codes ...
var foodDemand = function (food); {
Console.log("I want to eat" + " " + food); }

My codes are behaving funny, I'm putting every code right but I don't understand it keeps on giving me the error message about my syntax that there's something wrong.

Replace this line with your code.


Hi first this Line remove The ; at The end

var foodDemand = function (food); <---

Then here

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

console should be with The downcase C



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