-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (38 loc) · 1.46 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
<!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">
<meta name="description" content="This is a simple clock developed using HTML, CSS and vanilla JavaScript.">
<title>Clock - Vanilla JavaScript</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:wght@700&display=swap" />
<link rel="stylesheet" href="./styles.css" />
<script src="./script.js" type="text/javascript" defer></script>
</head>
<body>
<div class="clock">
<div class="hands">
<div class="hand hour" data-hour></div>
<div class="hand minute" data-minute></div>
<div class="hand second" data-second></div>
</div>
<div class="numbers">
<div class="number"><span>1</span></div>
<div class="number"><span>2</span></div>
<div class="number"><span>3</span></div>
<div class="number"><span>4</span></div>
<div class="number"><span>5</span></div>
<div class="number"><span>6</span></div>
<div class="number"><span>7</span></div>
<div class="number"><span>8</span></div>
<div class="number"><span>9</span></div>
<div class="number"><span>10</span></div>
<div class="number"><span>11</span></div>
<div class="number"><span>12</span></div>
</div>
</div>
</body>
</html>