4 -=- Did not declare foodDemand? -=-


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

foodDemand = ("McDonalds!");

ERROR: "Oops, try again. You did not declare foodDemand!"


This is not how you call a function,

Remove the = sign and write it as is,



Thanks! Darn Syntax. I need to learn this stuff ;-;


Lol the worst errors in programming are the smallest ones! :smile:

Happy Coding!


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