-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 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
<!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="Sea.mp4"></source>
</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="countdown-form">
<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" required>
<button type="submit">Submit</button>
</form>
</div>
<!-- Countdown Clock -->
<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>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>