Help with my code


//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)


Please include which lesson you are on.


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


Sorry, mistake. There can be.


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