Skip to content

Commit c6fcdd6

Browse files
committed
Fixed alarmclock.js
1 parent 90e99cf commit c6fcdd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/alarmclock/alarmclock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function setAlarm() {
1010
return;
1111
}
1212
// Store the input as the remaining seconds to count down
13-
remainingSeconds = minutes;
13+
remainingSeconds = minutes * 60;
1414
// Clear any existing timer before starting a new one
1515
if (timerInterval !== null) {
1616
clearInterval(timerInterval);

0 commit comments

Comments
 (0)