Skip to content

London | 26-ITP-May | Vito Moratti | Sprint 3 | Alarm-clock - #1384

Open
vmoratti wants to merge 6 commits into
CodeYourFuture:mainfrom
vmoratti:Module-Data-Groups/alarmclock
Open

London | 26-ITP-May | Vito Moratti | Sprint 3 | Alarm-clock#1384
vmoratti wants to merge 6 commits into
CodeYourFuture:mainfrom
vmoratti:Module-Data-Groups/alarmclock

Conversation

@vmoratti

@vmoratti vmoratti commented Aug 6, 2026

Copy link
Copy Markdown

Learners, PR Template

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

Changelist

Completed implementation of the alarm clock

@vmoratti vmoratti added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 6, 2026
@hey-hammad hey-hammad 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 Aug 8, 2026

@hey-hammad hey-hammad left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If the user clicks "Stop Alarm" before the timer reaches 00:00, what happens to the countdown? Will the alarm still ring when the timer finishes?
  • Could formatTime() do its job by returning the formatted time instead of relying on and updating global variables?

@hey-hammad hey-hammad added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 8, 2026
Refactor formatTime function to accept remainingSeconds as a parameter and return formatted time string. Update alarm display logic to use the new formatTime function.
@vmoratti

vmoratti commented Aug 9, 2026

Copy link
Copy Markdown
Author

I have now made the recommended adjustments.

@vmoratti vmoratti added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants