-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 1.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes">
<meta name="MobileOptimized" content="width">
<meta name="HandheldFriendly" content="true">
<title>Countdown Clock</title>
<meta name="description" content="Countdown Clock">
<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css">
</head>
<body>
<div id="countdown">
<div id="countdown_container">
<div id="clockdiv">
<div>
<span class="days"></span>
<div class="smalltext">DAYS</div>
</div>
<div>
<span class="hours"></span>
<div class="smalltext">HOURS</div>
</div>
<div>
<span class="minutes"></span>
<div class="smalltext">MINUTES</div>
</div>
<div>
<span class="seconds"></span>
<div class="smalltext">SECONDS</div>
</div>
</div>
</div>
</div>
<script src="/assets/js/countDown.min.js"></script>
<script type="text/javascript">
var cd = new Countdown({
cont: document.getElementById('clockdiv'),
endDate: {
year: 2020,
month: 12,
day: 31,
hour: 23,
minute: 59,
second: 58
},
outputTranslation: {
day: 'Days',
hour: 'Hours',
minute: 'Minutes',
second: 'Seconds',
},
endCallback: null,
outputFormat: 'day|hour|minute|second',
});
cd.start();
</script>
</body>
</html>