Skip to content

Commit 2e28700

Browse files
authored
Remove unused variable
Removed unused variable 'setBtn' from setAlarm function.
1 parent 5a4dc50 commit 2e28700

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sprint-3/alarmclock/alarmclock.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function setAlarm() {
77
const alarmClockInput = document.getElementById("alarmSet");
88
const clockDisplay = document.getElementById("timeRemaining");
99
let secondsRemaining = parseInt(alarmClockInput.value, 10);
10-
const setBtn = document.getElementById("set");
1110

1211
if (!isValidInput(secondsRemaining)) {
1312
alert("please enter a valid positive integer!");

0 commit comments

Comments
 (0)