-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.35 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.35 KB
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
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Clock</title>
<style media="screen">
/* Google font */
@import url('https://fonts.googleapis.com/css?family=Orbitron');
#clock{
font-family: 'Orbitron', sans-serif;
color: #66ff99;
font-size: 56px;
text-align: center;
padding-top: 40px;
padding-bottom: 40px;
display:inline-block;
background-color: black;
height: 220px;
position: fixed;
}
#alarm{
display:flex;
}
</style>
</head>
<body>
<!--add an HTML 'canvas' element-->
<div id = "alm">
<canvas id="myCanvas" width="300" height="300" style="background-color:black"></canvas>
<div id="clock"></div>
<div id="alarm">
<select id="hour">
</select>
<select id="minute">
</select>
<select id="second">
</select>
<textarea id="Reminder" name="name" rows="8" cols="80" placeholder="Reminder"></textarea>
<button type="button" name="button" onclick="test()">Save alarm</button>
<audio src="Alarm-ringtone.mp3" id="audio"></audio>
</div>
</div>
</body>
<script src="hello.js" type="text/javascript"></script>
<script src="alarm.js" type="text/javascript" charset="utf-8"></script>
</html>