-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
74 lines (74 loc) · 2.15 KB
/
main.js
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
import '@picocss/pico';
import './style.css';
import '/node_modules/flag-icons/css/flag-icons.min.css';
import './clock.js';
document.querySelector('#app').innerHTML = `
<body>
<main class="container">
<aside>
<nav>
<ul>
<hgroup>
<h1>World Clock</h1>
<h2>
<ins>
Available in selected cities
</ins>
</h2>
</hgroup>
</ul>
</nav>
<div class="grid">
<div>
<article>
<header>
Calgary
</header>
<div id="Calgary">
</div>
<footer class="fib fi-ca fi, flag-icon-squared"></footer>
</article>
</div>
<div>
<article>
<header>New York</header>
<div id="New York"></div>
<footer class="fib fi-us fi, flag-icon-squared"></footer>
</article>
</div>
<div>
<article>
<header>Reykjavík</header>
<div id="Reykjavík"></div>
<footer class="fib fi-is fi, flag-icon-squared"></footer>
</article>
</div>
<div>
<article>
<header>Dublin</header>
<div id="Dublin"></div>
<footer class="fib fi-ie fi, flag-icon-squared"></footer>
</article>
</div>
<div>
<article>
<header>Berlin</header>
<div id="Berlin"></div>
<footer class="fib fi-de fi, flag-icon-squared"></footer>
</article>
</div>
<div>
<article>
<header>Tel-Aviv</header>
<div id="Tel-Aviv"></div>
<footer class="fib fi-il fi, flag-icon-squared"></footer>
</article>
</div>
</main>
<footer class="pagefooter">
<small>
Made with <a target="_blank" href="https://github.com/kazvee/world-times#readme">❤️</span></a>
</small>
</footer>
</body>
`;