-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
74 lines (68 loc) · 2.29 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
<!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" />
<title>Clock using pure JS</title>
<link rel="stylesheet" href="clock.css" />
<script src="Clock.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Acme&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap"
rel="stylesheet"
/>
<script src="https://kit.fontawesome.com/548d4ef203.js" crossorigin="anonymous"></script>
</head>
<body>
<nav class="navigation">
<ul>
<label for="">iClock</label>
<li><a href="#home" class="active">Home</a></li>
<li><a href="./About.html">About</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
</nav>
<div class="container" id="container">
<div class="box" id="box">
<img
src="./img/clock.png"
alt="Clock.jpg"
onclick="change()"
id="image"
/>
</div>
<div id="second"></div>
<div id="minute"></div>
<div id="hour"></div>
<div class="circle" id="circle"></div>
</div>
<div class="digital" id="digital">
<h2 id="hour-2">00</h2>
<h3 id="dots">:</h3>
<h2 id="minute-2">00</h2>
<h3 id="dots">:</h3>
<h2 id="second-2">00</h2>
<span id="ampm">AM</span>
</div>
<div class="switch">
<button class="btm-big" onclick="hide()">Switch</button>
</div>
<footer id="footer">
<div class="btn-group" role="group" aria-label="Basic example">
<i class="social-icon fa-brands fa-twitter fa-2x" href="www.twitter.com"></i>
<i class="social-icon fa-brands fa-facebook fa-2x" href="www.facebook.com"></i>
<i class="social-icon fa-brands fa-instagram fa-2x" href="www.instagram.com"></i>
<i class="social-icon fa-solid fa-envelope fa-2x" href="www.gmail.com"></i>
</div>
<p>© iClock</p>
</footer>
</body>
</html>