-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (56 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event Countdown</title>
<link rel="icon" type="image/png" href="https://www.google.com/s2/favicons?domain=sherrycliao.com">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Video Background -->
<video class="video-background" loop muted autoplay>
<source src="mountains.mp4">
</source>
</video>
<div class="video-overlay"></div>
<!-- Container -->
<div class="container">
<!-- Input -->
<div class="input-container" id="input-container" hidden>
<h1>Create your own countdown!</h1>
<form class="form" id="countdownForm">
<div class="title">
<label for="title" id="title-title">Title</label>
<input type="text" id="title" placeholder="Event name">
</div>
<div class="date">
<label for="date-picker">Date</label>
<input type="date" id="date-picker">
</div>
<button type="submit" id="submit-button">Submit</button>
</form>
</div>
<!-- Countdown -->
<div class="countdown" id="countdown" hidden>
<h1 id="countdown-title"></h1>
<ul>
<li><span></span>Days</li>
<li><span></span>Hours</li>
<li><span></span>Minutes</li>
<li><span></span>Seconds</li>
</ul>
<button id="reset-button">Reset</button>
</div>
<!-- Complete -->
<div class="complete" id="complete" hidden>
<h1 class="complete-title">Countdown Complete!</h1>
<h1 class="complete-info">Countdown Finished on 05-05-2020</h1>
<button id="complete-button">Add Another</button>
</div>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>