Can't find an error (if/else)


var sleepCheck = function (numHours)
if (numHours>=8) {
return "You're getting plenty of sleep! May be even too much!";

else {
    return "Get some more shut eye!";




the string returned should be an exact match, copy it from the instructions


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