-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (46 loc) · 1.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Countdown Timer</title>
<link rel="icon" type="image/png" href="./icon.png">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div>
<h1 class="" style="text-align:center; margin-top: 60px;">Countdown Timer</h1>
<p style="text-align:center;">Select a date and the counter will start running.</p>
<input type="datetime-local" style="
display: block;
margin-top: 150px;
margin-right: auto;
margin-left: auto;
margin-bottom: 40px;"
id="date-input">
<div class="container">
<div class="row">
<div class="col-sm" style="text-align:center">
<h1 id="days" style="text-align:center">00</h1>
<p style="text-align:center">Days</p>
</div>
<div class="col-sm">
<h1 id="hours" style="text-align:center">00</h1>
<p style="text-align:center">Hours</p>
</div>
<div class="col-sm">
<h1 id="minutes" style="text-align:center">00</h1>
<p style="text-align:center">Minutes</p>
</div>
<div class="col-sm">
<h1 id="seconds" style="text-align:center">00</h1>
<p style="text-align:center">Seconds</p>
</div>
</div>
</div>
<p style="text-align:center; margin-top: 220px;">By: <a href="https://github.com/AdemirWilson" target="_blank">Ademir Wilson</a></p>
</div>
<script src="script.js"></script>
</body>
</html>