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 5f3f017 commit 9a787dfCopy full SHA for 9a787df
Week-3/Homework/mandatory/1-alarmclock/alarmclock.js
@@ -1,7 +1,7 @@
1
function setAlarm() {
2
3
let setAlarmbutton=document.querySelector("#set");
4
- let alarmInputValue=document.querySelector("#alarmSet").value;// this is value in box
+ let alarmInputValue=document.querySelector("#alarmSet").value;
5
setAlarmbutton.addEventListener("click",alarmOn(alarmInputValue));
6
}
7
@@ -30,7 +30,7 @@ function updateScreen(newValue){
30
31
32
// This will convert input time (initially in seconds) into minutes and seconds format.
33
-function convertTime(inputValue)
+function convertTime(inputValue) //inputValue is times in seconds and this function returns time in minutes and seconds.
34
{
35
var minutes=0;
36
var seconds =0;
0 commit comments