How do i fix this?


And statements

it says that when the varible hungry is false it doesnt return false

Replace this line with your code. 
var hungry = true
var foodHere = true
var eat = function() {
  // Add your if/else statement here!
  if(true && true) {
      console.log("Lets eat!")
  else {


In this lesson you need to check if foodhere and hungry are both equal..

so it will be:

if(foodHere && hungry){

also make sure your variables have semi colons at the end


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