Skip to content

Conversation

@Konvaly
Copy link

@Konvaly Konvaly commented Dec 1, 2025

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

This PR implements the core alarm clock behavior: clicking Set Alarm reads the value from the input and immediately updates the header to Time Remaining: MM:SS, then counts down once per second. When the timer reaches 00:00, the app triggers the alarm sound via playAlarm() and changes the page background to another colour (now its cerulean) to visually indicate the alarm has finished. It also adds input validation so the alarm can only be set using a positive whole number, preventing invalid countdowns.

@Konvaly Konvaly added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 1, 2025
@wheresdiasd wheresdiasd added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 1, 2025
@wheresdiasd wheresdiasd self-requested a review December 1, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants