-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (66 loc) · 2.78 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!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">
<meta name="Alarm Clock" content="Alarm Clock" />
<title>Alarm Clock</title>
<!-- Favicon -->
<link rel="icon" href="media\website-logo.png">
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Page Title -->
<div class="page-title">
<h1>ALARM CLOCK </h1>
</div>
<!-- Main Container -->
<div class="main-container d-flex">
<!-- Clock Container -->
<div class="clock-container d-flex">
<!-- Main wrapper -->
<div class="wrapper flex">
<div class="container">
<img src="media/website-logo.png" alt="Logo" class="logo">
</div>
<!-- Date and Time -->
<div class="datetime">
<div class="date">
<span id="week">Week</span>,
<span id="month">Month</span>,
<span id="date">00</span>,
<span id="year">Year</span>
</div>
</div>
<div class="current-time mb" id="current-time">00: 00: 00</div>
<!-- Alarm Form -->
<form class="alarm-form d-flex mb">
<div>
<select name="hours" id="hours" required></select>
<select required name="minutes" id="minutes"></select>
<select required name="seconds" id="seconds"></select>
<select required name="am-pm" id="am-pm">
<option value="AM/PM" selected hidden>AM/PM</option>
<option value="AM">AM</option>
<option value="PM">PM</option>
</select>
</div>
<button class="btn submit-button" id="submitButton" type="submit">Set Alarm</button><br>
</form>
<!-- Stop Alarm Button -->
<button id="stopAlarm" onclick="stopAlarm()">Stop Alarm</button>
<!-- Set Alarm Container -->
<div class="set-alarm-container">
<div class="set-alarm-container-title mb">RECENT ALARMS</div>
<div class="alarms-container" id="alarms-container"></div>
</div>
</div>
</div>
</div>
</div>
<!-- JavaScript File -->
<script src="./index.js"></script>
</body>
</html>