This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clock.html
55 lines (55 loc) · 1.84 KB
/
clock.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Duncan’s Clock</title>
<link rel="stylesheet" type="text/css" href="../main.css" />
<link rel="icon" href="https://www.duncanritchie.co.uk/favicon.ico" type="image/x-icon" />
<link rel="icon" href="https://www.duncanritchie.co.uk/favicon-96x96.png" type="image/png" />
</head>
<body>
<main>
<h1>Duncan’s Clock</h1>
<p class="explanation">This tells you the time!</p>
<div id="clockBody">
<div id="clockFace">
<div id="clockMinuteHandWrap">
<div id="clockMinuteHand"></div>
</div>
<div id="clockHourHandWrap">
<div id="clockHourHand"></div>
</div>
<div id="clockSecondHandWrap">
<div id="clockSecondHand"></div>
</div>
</div>
<div id="clockDigital">
00:00:00
</div>
</div>
</body>
</main>
<footer>
<ul>
<li>
<a href="https://www.duncanritchie.co.uk" title="Duncan Ritchie’s website">
Made by Duncan Ritchie
</a>
</li>
<li>
<a href="../" title="Duncan Ritchie’s game page">
Games homepage
</a>
</li>
<li>
<a href="https://github.com/DuncanRitchie/jsChallenges/tree/main/clock" title="Code on GitHub">
See the code
</a>
</li>
</ul>
</footer>
<script src="clock.js"></script>
</body>
</html>