#12 Can't See What is Wrong!



I get this error

Oops, try again.
It looks like your function doesn't return "Get some more shut eye!" when numHours is 5. Check your if / else syntax and whether you're using the correct comparison operator.

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



Hi you return statement inside the else statement should return that string

return "Get some more shut eye!"

Instead of

return "Get more shut eye!"


When it asks you for a specific quote, remember to make no mistakes and copy the required quote to the letter. A single wrong space or misspelling can cause you to fail.