I just dont see


#1


https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/4?curriculum_id=506324b3a7dffd00020bf66


Oops, try again. There was an error while running your code: ReferenceError: numHours is not defined


Replace this line with your code. 
  if(numHours >= 8){
        return "You're getting plenty of sleep! Maybe even too much!";
    }
    else
    {
        return "Get some more shut eye!";
    }
};
sleepCheck(10);


#2

Write a function named sleepCheck that takes the parameter numHours

You need to define the function:

var sleepCheck = function(numHours) {...}

#3

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