-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (54 loc) · 1.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Custom Countdown</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Video background -->
<video class="video-background" loop muted autoplay>
<source src="time.mp4" />
</video>
<div class="video-overlay"></div>
<!-- Container -->
<div class="container">
<!-- Input -->
<div class="input-container" id="input-container">
<h1>Create a custom countdown!</h1>
<form class="form" id="countdownForm">
<label for="title">Title</label>
<input
type="text"
id="title"
placeholder="What are you counting down to?"
/>
<label for="date-picker">Select a date</label>
<input type="date" id="date-picker" />
<button type="submit">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="countdown-button">Reset</button>
</div>
<!-- Complete -->
<div class="complete" id="complete" hidden>
<h1 class="complete-title">Coundown complete!</h1>
<h1 id="complete-info"></h1>
<button id="complete-button">New countdown</button>
</div>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>