timer
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| timer [2020/08/04 17:55] – created dhawann | timer [2020/08/04 18:54] (current) – dhawann | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| < | < | ||
| // Set the date we're counting down to | // Set the date we're counting down to | ||
| - | var countDownDate = new Date("Jan 5, 2021 15:37:25" | + | var countDownDate = new Date("Aug 5, 2020 9:00:00" |
| // Update the count down every 1 second | // Update the count down every 1 second | ||
| Line 23: | Line 23: | ||
| // Display the result in the element with id=" | // Display the result in the element with id=" | ||
| - | document.getElementById(" | + | document.getElementById(" |
| - | + minutes + "m " + seconds + "s "; | + | + minutes + "m " + seconds + " |
| // If the count down is finished, write some text | // If the count down is finished, write some text | ||
timer.1596563704.txt.gz · Last modified: 2020/08/04 17:55 by dhawann