Heck your if / else syntax and whether you're using the correct comparison operator


#1

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!";
}
};
(sleepCheck (10));

#2

@kam81 what's ur issue??

and i guess remove parenthesis from sleepCheck(10);