Functions and if/else


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


It prints what it's supposed to but it's telling me I'm wrong, what have I done wrong?


If I'm not mistaken, the conditional should be,

if (numHours >= 8) {


As well as what @mtf said, you misspelled the word "you're" which may have an effect on SCT.