-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (53 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mydigitalclock</title>
<link rel="stylesheet" href="style.css">
<link
href="https://cdn.jsdelivr.net/npm/remixicon@4.1.0/fonts/remixicon.css"
rel="stylesheet"
/>
<!-- ========== ICON =========== -->
<link rel="shortcut icon" href="favicon.io.ico" type="image/x-icon">
</head>
<body>
<!-- ========= Clock Body ======== -->
<div class="container">
<div class="bg-image" id="backgroundImg"></div>
<h4 id="date"></h4>
<h1 id="time"></h1>
<h2 id="desc">
<span id="element"></span>
</h2>
</div>
<!-- ============ Available Themes ============= -->
<div class="switch">
<div class="icon" id="home"></div>
<div class="icon" id="fog"></div>
<div class="icon" id="moon"></div>
<div class="icon" id="forest"></div>
<div class="icon" id="raccon"></div>
<div class="icon" id="squirrel"></div>
</div>
<!-- Script for getting time! -->
<script src="script.js"></script>
<!-- Typed Js Script! -->
<script src="https://unpkg.com/typed.js@2.0.16/dist/typed.umd.js"></script>
<!-- Setup and start animation! -->
<script>
const githubIcon = ['<i class="ri-github-fill"></i>']
var typed = new Typed("#element", {
strings: [
"Loading Clock...",
"This is mydigitalclock",
"developed by ninja-vikash",
"multiple themes in mydigitalclock",
`${githubIcon} ninja-vikash/mydigitalclock`,
],
typeSpeed: 60,
});
</script>
</body>
</html>