-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (77 loc) · 3.36 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
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<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.37/moment-timezone-with-data-1970-2030.min.js"></script>
<link rel="stylesheet" href="src/style.css"></head>
<title>Worldtimers</title>
</head>
<body>
<div class="container">
<h1>What time is it?</h1>
<select id="city">
<option value="">Select a city</option>
<option value="current">Current timezone</option>
<option value="Europe/Lisbon">Lisbon 🇵🇹</option>
<option value="America/Sao_Paulo">São Paulo 🇧🇷</option>
<option value="Europe/Berlin">Düsseldorf 🇩🇪</option>
<option value="Australia/Sydney">Sydney 🇦🇺</option>
<option value="Europe/Madrid">Madrid 🇪🇸</option>
<option value="America/New_York">New York 🇺🇸</option>
<option value="Europe/Amsterdam">Amsterdam 🇳🇱</option>
<option value="Europe/Rome">Rome 🇷🇴</option>
<option value="America/Bahia">Bahia 🇧🇷</option>
<option value="Asia/Tokyo">Tokyo 🇯🇵</option>
<option value="Atlantic/Reykjavik">Reykjavik 🇮🇸</option>
<option value="Pacific/Fiji">Fiji 🇫🇯</option>
</select>
<div id="cities">
<div class="city" id="saopaulo"><div>
<h2>Sao Paulo</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="dusseldorf">
<div>
<h2>Düsseldorf</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="sydney">
<div>
<h2>Sydney</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
<div class="city" id="newyork">
<div>
<h2>New York</h2>
<div class="date"></div>
</div>
<div class="time"></div>
</div>
</div>
</div>
<footer>
This project was coded with ☕️ by <a href="https://www.linkedin.com/in/camillascardoso/" target="_blank">Camilla
Cardoso</a>
and is open sourced on <a href="https://github.com/hicamilla/World-Clock-Add-On-W2.git"
target="_blank">GitHub</a>
and hosted on <a href="https://ultimateworldtime.netlify.app" target="_blank">Netlify</a>.
</footer>
<script src="src/index.js"></script>
</body>
</html>