Not --


#1

This thing provokes me to fight with
can i do anything with it ?

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

it says :: Oops, try again. It looks like your happy function returns true instead of false when programming is true

programming=false;
var happy = function() {
    if (programming == false) 
   {
      return false;
   } 
    else 
   {
     return true;
   } 
};

#2

ok self solutioned
programming=false;
var happy = function() {
if (programming == false)
{
return true;
}
else
{
return false;
}
};


#3

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