We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c7f47 commit 8f74698Copy full SHA for 8f74698
Sprint-3/alarmclock/alarmclock.js
@@ -11,6 +11,7 @@ let totalSeconds = 0;
11
function main() {
12
// add an event listener to the "input" element that will call the counterUpdate function when clicked on
13
document.getElementById("alarmSet").addEventListener("click", counterUpdate);
14
+ document.getElementById("alarmSet").addEventListener("keyup", counterUpdate);
15
}
16
17
// define the function that will update the counter
0 commit comments