-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (58 loc) · 2.09 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
<!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>World Clocks App</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.40/moment-timezone-with-data-1970-2030.min.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="container">
<h1>World Clock</h1>
<select id="city">
<option value="">Select a city</option>
<option value="current">My current location</option>
<option value="Asia/Bangkok">Bangkok</option>
<option value="America/Toronto">Toronto</option>
<option value="Asia/Dubai">Dubai</option>
<option value="Asia/Hong_Kong">Hong Kong</option>
<option value="Australia/Sydney">Sydney</option>
<option value="Europe/Madrid">Madrid</option>
<option value="Asia/Kuala_Lumpur">Kuala Lumpur</option>
</select>
<div id="cities">
<div class="city" id="new-york">
<div>
<h2>New York</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="shenzhen">
<div>
<h2>Shenzhen</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
</div>
</div>
<footer>
This project was coded by
<strong>Olga D.Kahraman</strong> and
<a href="https://github.com/olgakahraman/world-clocks-app" target="_blank"
>open-sourced on GitHub</a
>
</footer>
<script src="javascript/app.js"></script>
</body>
</html>