Lesson 12


i cant get this code to work on lesson 12. can anyone tell me what is wrong with it?

// Write your function below.
// Don't forget to call your function!
var sleepCheck = function(numHours){
if(numHours >= 8){
return ("You're getting plenty of sleep! Maybe even too much!");
return ("Get some shut eye!");


You need console.logs to print out your sleepCheck 's.


Also, if you really want to use return, get rid of the parentheses and semicolon.

they ask

"Get some more shut eye!"

you use

"Get some shut eye!"

Next time please mention the EXACT Oops-message...