-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.71 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
<!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" />
<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=Roboto:wght@100;300&display=swap"
rel="stylesheet"
/>
<script src="/script/spinner.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js" defer></script>
<script src="/script/domElements.js" defer></script>
<script src="/script/eventListener.js" defer></script>
<script src="/script/mainLogic.js" defer></script>
<link rel="stylesheet" href="/style/mainStyle.css" />
<link rel="stylesheet" href="/style/chartStyle.css" />
<link rel="stylesheet" href="/style/spinner.css" />
<title>API World Population</title>
</head>
<body>
<div class="container">
<div class="title">
<h1>World Population</h1>
</div>
<div class="continent">
<button class="africa btn-continent">Africa</button>
<button class="americas btn-continent">America</button>
<button class="asia btn-continent">Asia</button>
<button class="europe btn-continent">Europe</button>
<button class="oceania btn-continent">Oceania</button>
</div>
<div class="loader loader-hidden"></div>
<div class="chart">
<canvas id="myChart"></canvas>
</div>
<div class="hidden-info">
<span>SORRY NO INFORMATION ABOUT THIS COUNTRY :(</span>
</div>
<div class="all-btn"></div>
</div>
</body>
</html>