AND what is wrong?


#1


AND


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

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


#2

HI this part just remove the ; after the if condition

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

#3

yes this is the problem thank you