Help - noob is stuck

hello,

I have copied, like for like, a tutorial, and for some reason, when the tutor does this code, it doesn’t show the “Invalid item!”

Can anybody please help me with this? :slight_smile:

Hi!

Can you please paste the full code instead of the screen shot?

1 Like

Hi, if you’ve got the full code that’d be great.
Though, from what I can see;
you’ve no { } around your getActualSleepHours function.
Sunday is also capitalised in your switch statement.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.