Skip to content

London | May-2025 | Mohamed Ibrahim | Module-Data-Groups | Alarm Clock #563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sidicamoli
Copy link

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@sidicamoli sidicamoli added the Needs Review Participant to add when requesting review label Jul 9, 2025
const seconds = parseInt(input.value, 10);

if (isNaN(seconds) || seconds <= 0) {
alert("Enter a number greater than 0");

Choose a reason for hiding this comment

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

nice job thinking about how to handle invalid input

const minutes = String(Math.floor(remainingSeconds / 60)).padStart(2, "0");
const seconds = String(remainingSeconds % 60).padStart(2, "0");
document.getElementById("timeRemaining").textContent = `Time Remaining: ${minutes}:${seconds}`;
}

// DO NOT EDIT BELOW HERE

Choose a reason for hiding this comment

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

We should try to complete the task without editing below this line

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the feedback! I moved them above the line as suggested, so nothing below was changed.

@MorganDavid MorganDavid added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review labels Jul 12, 2025
@sidicamoli sidicamoli added the Needs Review Participant to add when requesting review label Jul 12, 2025
@illicitonion illicitonion changed the title London | May-2025 | Mohamed Ibrahim | Module-Data-Groups | AlarmClock London | May-2025 | Mohamed Ibrahim | Module-Data-Groups | Alarm Clock Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review Participant to add when requesting review Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants