Hello!
I'm stuck at codecademy... Anyone help me? I've tried to slove this for 2 hours but it wont work... When I "run" the program it just says SyntaxError: Unexpected token else
This is the code 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)
Reegards TyffaN