Help with my code


#1

//this is my code and i need help. there are a couple of syntax errors that i can't find, i probably made a few big mistakes
//if you can help me out thank you very much!!!

var sleepCheck = function(number) {
if (numHours >= 8) {
return "you're getting plenty of sleep! Maybe even too much!";
}
else {
return "get some more shut eye!";
}
};
var numHours = (number)
sleepCheck(19)


#2

Please include which lesson you are on.


#3

There shouldn't be speech marks in a return statement.


#4

Sorry, mistake. There can be.


#5

Where do you define numHours? If you mean the number at function(number), that should be referred to as number.