I have the right code but still getting the same error


#1

I have the right code but still getting the same error

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


Lesson 12 - Functions & if/else
#2

Check your strings against those given in the instructions. You may have a spelling error.


#3

how are you so good at coding? tell me your secret dawg :kissing_closed_eyes:


#4

No secret,.just love, is all.


#6