Whats the problam with this code?


// Write your function below.
// Don't forget to call your function!

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


The syntax seems to be ok although the function declaration is not covered in this course :wink:
So I guess the problem is a typo in one of your output messages. First guess would be: shuteye