var sleepCheck = function (numHours)
if (numHours >= 8)
return "You're getting plenty of sleep! Maybe even too much!";
return "Get some more shut eye!";
I think you're meant to assign a prompt here.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.