-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (94 loc) · 3.55 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!--
Count Down to a date. Set the date when calling "countDownFromTime", and watch the counter count down down down.
-->
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="index.css">
<!-- Favicon, generated using: https://realfavicongenerator.net/ -->
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="manifest" href="img/site.webmanifest">
<link rel="mask-icon" href="img/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>HOW LONG UNTIL 2020 IS OVER</title>
</head>
<body>
<h1 class="text-center" id="countDownTitle">HOW LONG UNTIL 2020 IS OVER?</h1>
<div class="container-fluid text-center countdown display-4" id="countDownDiv">
<!-- inline-block keeps the time/Time Refs together on the same line -->
<span>
<span id="years">0</span>
<span id="timeRefYears">years</span>
</span>
<span>
<span id="days">0</span>
<span id="timeRefDays">days</span>
</span>
<span>
<span id="hours">0</span>
<span id="timeRefHours">hours</span>
</span>
<span>
<span id="minutes">0</span>
<span id="timeRefMinutes">minutes</span>
</span>
<span>
<span id="seconds">0</span>
<span id="timeRefSeconds">seconds</span>
</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-2">
<span id="floatYears">0</span>
<span>years</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-2">
<span id="floatMonths">0</span>
<span>months</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-2">
<span id="floatWeeks">0</span>
<span>weeks</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-2">
<span id="floatDays">0</span>
<span>days</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-3">
<span id="floatHours">0</span>
<span>hours</span>
</div>
<div class="container-fluid text-center font-weight-bold font-italic display-4">
<span id="floatMins">0</span>
<span>minutes</span>
</div>
<div class="container-fluid text-center">
<div id="itsdone"></div>
</div>
<footer class="footer text-center">
<div class="container">
<a href="https://joebiden.com/">Joe Biden<a/> |
<a href="https://democrats.org/">Democratic National Committee</a> |
<a href="https://democraticredistricting.com/ndrc-2019-2020-electoral-targets/">
Stop Gerrymandering
</a>
</div>
</footer>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!--- JavaScript functions for counting down to a date -->
<script src="CountDown.js"></script>
</body>
</html>