Sleep Check Problems


var sleepCheck = function(numHours){
if (numHours >= 8) {
return "You're getting plenty of sleep! May even too much!";
else {
return "Get some more shut eye!";

--I'm getting a message that says that it isn't returning the right info to the console, but it is. Stuck. What am I doing wrong?

"... Maybe even too much!"

Be sure to match the text exactly to what is given in the instructions.


Oh my, I feel silly. Thanks.


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