<In what way does your code behave incorrectly? Include ALL error messages.>
I have worked through the functions exercise but when I try pacing the code for example lesson 12 in a HTML page (outside CodeCademy) it does NOT work. Its all well and good learning things in CodeCademy but how about applying them in a HTML page. How do we do that?
@ajfarroll
apart what @cfecteau1 presented
you could instead of your return sleepStatus;
use alert(sleepStatus);
or if you use the HTML-Debugger you could read the console
after using console.log(sleepStatus);
Thanks to all who responded. I am beginning to doubt the use of return value from javascript in HTML. However I resolved it by placing this in the body.