79208782

Date: 2024-11-20 20:05:15
Score: 0.5
Natty:
Report link

When the Javascript starts you first do a attendanceStatus(); to enable/disable based on the hour of the day, and this seems to work alright.

But right below that you immediately override the previous action by enabling/disabling the buttons based on whatever is in sessionStorage.getItem('clockedIn').

You would have to combine the timebased and session checks somehow to get the result you desire.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: JorisJ1