Skip to content

London | 26-ITP-May | Rizqah Popoola | Sprint 3 | Alarm Clock - #1357

Open
risikatpopoola wants to merge 2 commits into
CodeYourFuture:mainfrom
risikatpopoola:alarmclock
Open

London | 26-ITP-May | Rizqah Popoola | Sprint 3 | Alarm Clock#1357
risikatpopoola wants to merge 2 commits into
CodeYourFuture:mainfrom
risikatpopoola:alarmclock

Conversation

@risikatpopoola

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

@risikatpopoola risikatpopoola added 🏕 Priority Mandatory This work is expected 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Groups The name of the module. labels Aug 1, 2026
@abdishakoor-dev abdishakoor-dev changed the title London | 26-ITP-May | Rizqah Popoola| Sprint 3 | Alarm Clock London | 26-ITP-May | Rizqah Popoola | Sprint 3 | Alarm Clock Aug 3, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • If a user enters a time and then clicks the "Set Alarm" button multiple times, the countdown clock will not display properly. Could you fix the issue?

  • Currently when starting a new countdown, the application does not always return to a clean initial state, which can lead to inconsistent behaviour between runs.

    Note: a user may not click the "Stop" button first before starting a new count down.

const setButton = document.querySelector("#set");
const timeRemaining = document.querySelector("#timeRemaining");
function setAlarm() {
let totalSeconds = Number(alarmInput.value);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some input values could make your app behave abnormally. Could you add code to sanitise or reject them?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Groups The name of the module. 🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants