Skip to content

WESTMIDLANDS-ITP|SEGUN FOLAYAN|DATA-GROUPS|ALARMCLOCK #493

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 3 commits into
base: main
Choose a base branch
from

Conversation

segunfolayan
Copy link

@segunfolayan segunfolayan commented Apr 11, 2025

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 COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

PR for Sprint-3 Alarm Clock

Questions

Ask any questions you have for your reviewer.

@segunfolayan segunfolayan added the Needs Review Participant to add when requesting review label Apr 11, 2025
@cjyuan cjyuan added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Apr 13, 2025
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

You missed updating index.html according to an instruction in readme.md.

When the user clicks "Stop Alarm", the background is not reset to its initial color.

Otherwise, the code is working good.

Feel free to mark this PR as "Complete" after you have made the necessary changes based on my feedback.

Comment on lines 14 to 17
if (isNaN(timeLeft) || timeLeft < 0) {
alert("Please enter a valid positive number for the alarm time (in seconds).");
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

0 is not a positive number.

Copy link
Author

Choose a reason for hiding this comment

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

I will update with corrections. Thanks.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review and removed Needs Review Participant to add when requesting review Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Apr 13, 2025
@segunfolayan segunfolayan added the Complete Participant to add when work is complete and review comments have been addressed label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complete Participant to add when work is complete and review comments have been addressed Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants