AND what is wrong?



Replace this line with your code. var hungry=true;
var foodHere=true;// Declare your variables here!
var eat = function() {
if (hungry && foodHere);
return true;
{return false}
};// Add your if/else statement here!};

and it says :Oops, try again. There was a problem with your syntax.


HI this part just remove the ; after the if condition

if (hungry && foodHere); <== tthis one


yes this is the problem thank you