Help on No 12


#1

help this is my programming and I keep getting this error!

Oops, try again. It looks like sleepCheck() isn't returning "You're getting plenty of sleep! Maybe even too much!" when numHours is 10. Check your if / else syntax and whether you're using the correct comparison operator

// Write your function below.
// Don't forget to call your function!
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!";
}
};
console.log(sleepCheck(10));
console.log(sleepCheck(8));
console.log(sleepCheck(5));


#2

I read your error message, then read your string, and they are not exactly the same so that's where I'll stop reading.
Are there any other issues with it?


#3

i know thats why i was having trouble usually im good at debugging too and nope no other errors