User Tools

Site Tools


timer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
timer [2020/08/04 18:54] dhawanntimer [2020/08/04 18:54] (current) dhawann
Line 23: Line 23:
  
   // Display the result in the element with id="demo"   // Display the result in the element with id="demo"
-  document.getElementById("demo").innerHTML ="<h1>" days + "d " + hours + "h "+  document.getElementById("demo").innerHTML ="<h1>" days + "d " + hours + "h "
   + minutes + "m " + seconds + "s </h1>";   + minutes + "m " + seconds + "s </h1>";
  
timer.1596567274.txt.gz · Last modified: 2020/08/04 18:54 by dhawann