Doing as expert developer directed code by watching videos yet ..code is not working properly

Hello! Could you post the code in the forums, please?

Looks like in your getActualSleepHours function Monday, Tuesday and Wednesday shouldn’t have capital letters at the start and so are hitting the default case in the switch statement.

1 Like