-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 1.99 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Custom Countdown</title>
</head>
<body>
<!-- Video bg -->
<video class="video-background" loop muted autoplay>
<source src="time.mp4"></source>
</video>
<div class="video-overlay"></div>
<!-- Container -->
<div class="container">
<!-- Input Container -->
<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" required id="title" placeholder="What are you counting down for?">
<label for="date-picker">Select a Date</label>
<input type="date" id="date-picker" required>
<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">Countdown Complete</h1>
<h1 id="complete-info"></h1>
<button id="complete-button">New Countdown</button>
</div>
</div>
<!-- Made with -->
<div class="code">
<a href="https://github.com/azizqamar7/Custom-Countdown" target="_blank">
<h2></> with ♥ view code</h2>
</a>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>