-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (64 loc) · 2.64 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
<!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="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="script.js" defer></script>
<title>Document</title>
</head>
<body>
<main>
<div class="form">
<div class="search-container">
<input type="text" placeholder="Search countries..." class="search-text-input">
<button class="search-btn">
<i class="fa fa-search"></i>
</button>
<button class="search-mic-btn">
<i class="fa fa-microphone"></i>
</button>
</div>
<button id="all-btn">Fetch All</button>
</div>
<div class="summary-container">
<h1>Total Countries: <span id="total-countries-num">loading...</span></h1>
<h1>Total Population: <span id="total-population-num">loading...</span></h1>
<h1>Average Population: <span id="avg-population-num">loading...</span></h1>
</div>
<div class="split">
<div class="countries-container">
<!-- <div class="card-container">
<h2 id="country-name">United Arab Emirates</h2>
<h2>Population: <span id="population-num">213412323</span></h2>
</div>
<div class="card-container">
<h2 id="country-name">Israel</h2>
<h2>Population: <span id="population-num">213412323</span></h2>
</div>
<div class="card-container">
<h2 id="country-name">United States Minor Outlying Islands</h2>
<h2>Population: <span id="population-num">213412323</span></h2>
</div> -->
</div>
<div class="continents-container">
<!-- <div class="card-container">
<h2 id="continent-name">Africa</h2>
<h2>Countries: <span id="country-count">5</span></h2>
</div>
<div class="card-container">
<h2 id="continent-name">Asia</h2>
<h2>Countries: <span id="country-count">5</span></h2>
</div>
<div class="card-container">
<h2 id="continent-name">Test</h2>
<h2>Countries: <span id="country-count">5</span></h2>
</div> -->
</div>
</div>
</main>
</body>
</html>