-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (53 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="src/style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.45/moment-timezone-with-data-1970-2030.min.js"></script>
<title>World Clock </title>
</head>
<body>
<div class="container">
<h1>World Clock</h1>
<select name="" id="city">
<option value="">Choose city</option>
<option value="current">My current location</option>
<option value="Europe/London">London</option>
<option value="America/New_York">New York</option>
<option value="Pacific/Auckland">Auckland</option>
</select>
<div id="cities">
<div class="city" id="sydney">
<div>
<h2>Sydney 🇦🇺</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="paris">
<div>
<h2>Paris 🇫🇷</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="tokyo">
<div>
<h2>Tokyo 🇯🇵</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
</div>
</div>
<footer>
This project was coded by <strong>Nikola Ashton</strong> and is open sourced on <a
href="https://github.com/nikolaclare/world-clock-app" target="_blank">GitHub</a> and hosted on <a
href="https://project-world-clock-app.netlify.app/">Netlify</a>.
</footer>
<script src="src/index.js"></script>
</body>
</html>