|
|
|
@ -107,8 +107,8 @@ var x = setInterval(function() {
|
|
|
|
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
|
|
|
|
|
|
|
|
|
// Display the result in the element with id="demo"
|
|
|
|
|
document.getElementById("demo").innerHTML = days + "days " + hours + "hours "
|
|
|
|
|
+ minutes + "min. " + seconds + "sec. ";
|
|
|
|
|
document.getElementById("demo").innerHTML = days + " day" + hours + " hours "
|
|
|
|
|
+ minutes + " min. " + seconds + " sec. ";
|
|
|
|
|
|
|
|
|
|
// If the count down is finished, write some text
|
|
|
|
|
if (distance < 0) {
|
|
|
|
|