#12 function and if else


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
#12 FUNCTION AND IF ELSE

<In what way does your code behave incorrectly? Include ALL error messages.>

HELP ME GUYS I DON’t know what’s the problem, I can’t fix it -_-



Replace this line with your code. 



#2

Ho you should Close The function sleepCheck()

var sleepCheck = function(numHours) { #open the function sleepCheck 

 #here go The if and else statement 

}#Close the function sleepCheck 


#3

Thank you sir @wizmarco :smiley: