Oops, try again. There was a problem with your syntax


#1

// Declare your variables here!
var tired = true;
var bored = false;
var nap = function()
{
if (tired||bored)
{
return true;
}
else (
return false;
}
};
// Add your if/else statement here!


https://www.codecademy.com/en/courses/javascript-beginner-en-qDwp0/2/3?curriculum_id=506324b3a7dffd00020bf661


Replace this line with your code.


#2

Hi you put ( instead of {