Bug?


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/javascript-beginner-en-6LzGd/2/4?curriculum_id=506324b3a7dffd00020bf661

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I wrote this code but it always gives me 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. But at the same time it prints what it should on the console.

```

var sleepCheck = function(numHours){
if(numHours>=8){
return “You’re getting plenty of sleep! Maybe even too much!”;
}
else{
return"Get som emore shut eye!";
}

};
sleepCheck(5);
<do not remove the three backticks above>

#2

strings returned should be an exact match, for example in your string you have two spaces instead of one between even and too


#3

Thanks again, you’re a real time saver <3


closed #4