Skip to content

London | 26-ATP-May | Boualem Larbi Djebbour | sprint 3 | Alarm clock app#1230

Open
djebsoft wants to merge 9 commits into
CodeYourFuture:mainfrom
djebsoft:AlarmClock
Open

London | 26-ATP-May | Boualem Larbi Djebbour | sprint 3 | Alarm clock app#1230
djebsoft wants to merge 9 commits into
CodeYourFuture:mainfrom
djebsoft:AlarmClock

Conversation

@djebsoft
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

This PR previously discussed in #1144
changes since last PR: no changes

@djebsoft djebsoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 14, 2026
Copy link
Copy Markdown
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

This looks good, but has one issue - if I set the alarm for 1 second, the alarm only actually plays after 2 seconds. Can you work out why and fix it up?

Comment thread Sprint-3/alarmclock/alarmclock.js Outdated
@@ -1,5 +1,53 @@
function setAlarm() {}
//global variables: 1- userInput, 2- timeRemaining, 3- stop, 4- seconds, 5- minutes
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please take a look at all of your comments in this file and see if they add more detail than just the line of code itself. e.g. the comment get access to the "timeRemaining" element simply restates exactly what the line after does. Remove any that aren't useful.

Comments should ideally be replaced by clear naming with code, and where they can't, should typically explain why we're doing something, rather than what we're doing. The code itself says what we're doing.

@illicitonion illicitonion 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 May 15, 2026
@djebsoft djebsoft added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels May 15, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants