Skip to content

Commit 2177f21

Browse files
Testing the UI with a message
1 parent 5d17875 commit 2177f21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sprint-3/alarmclock/alarmclock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function setAlarm() {
1717
let value = input.value
1818

1919
if (value === "") {
20+
heading.innerText = "Please enter a number of seconds.";
2021
return;
2122
}
2223

0 commit comments

Comments
 (0)