MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / resetTimer

Function resetTimer

countdown/app.js:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36function resetTimer(){
37 daysElement.innerHTML = `-`;
38 hoursElement.innerHTML = `-`;
39 minutesElement.innerHTML = `-`;
40 secondsElement.innerHTML = `-`;
41}
42
43//storing the time elapsed till inputElement in the variable countdonwDate
44let countdownDate = new Date(inputElement).getTime();

Callers 1

updateTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected