Skip to content

Commit 4c8eeb9

Browse files
added into the set alarm function A note for flashing
1 parent d4458e2 commit 4c8eeb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Sprint-3/alarmclock/alarmclock.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function setAlarm() {
2727
if (timeRemaining <= 0) {
2828
clearInterval(intervalId);
2929
playAlarm();
30+
document.body.classList.add("flash");
3031
}
3132
}, 1000);
3233
}

0 commit comments

Comments
 (0)