Skip to content

Nikolai Romanov | oct2025-2 | Data groups | Sprint 3 | [TECH ED] Build alarm clock app#3

Open
kolya-rm wants to merge 9 commits intomainfrom
coursework/alarmclock
Open

Nikolai Romanov | oct2025-2 | Data groups | Sprint 3 | [TECH ED] Build alarm clock app#3
kolya-rm wants to merge 9 commits intomainfrom
coursework/alarmclock

Conversation

@kolya-rm
Copy link
Owner

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 | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

  • implemented the page behaviour described in readme.md.

Questions

  • How to run jest tests in this project? It can't find downloaded and installed test-dom library.

  - html title updated.
  - added initializing function onFinishLoading;
  - added listener to check input for alarmSet input field.
  - added alarmSet input setup function called on the page loading finish;
  - added setting 0 on alarmSet input setup.
  - implemented the function for update timer text;
  - added the created function incokation on the page loading finish.
  - in setAlarm function implmented initial timer text set.
  - implemented timer countdown using setInterval;
  - implemented timer update ligic in the function updateTimer;
  - implemented function for delete setted interval.
  - implemented the page background color change on active alarm.
  - in the html file added a new pause button;
  - in the script file implemet initialize the new button with a listener;
  - implemented onClickPauseButton function logic to stop and to start timer when it is working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant