No. 12 of 13


#1

I have played with spacing and note sure what I am missing

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


#2

You lack the {} wrapping your function.