And 11/14


// Declare your variables here!
var hungry = true;
var foodHere = true;

var eat = function() {
// Add your if/else statement here!
if (hungry && foodHere){
return true;
else {
return false;


I keep getting the error: SyntaxError: Unexpected keyword 'else'. I don't understand why.


You got an extra bracket down there. :smiley:


Where? I removed a bracket and still get the same error referring to the 'else' statement.


You need a '}' before the else statement.


ahhh now I see it. Thanks!