-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (80 loc) · 3.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Countries - Home Page</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="./src/css/index.css">
</head>
<body>
<header>
<div class="container">
<div class="header">
<h2>Where in the world?</h2>
<button id="themeSwitcher"><i class="bi bi-brightness-high-fill"></i></button>
</div>
</div>
</header>
<section class="filters">
<div class="container">
<div class="filtersDiv">
<div class="searchInputDiv">
<input type="text" placeholder="Search for a country..." id="countrySearchInput" autocomplete="off" autofocus>
<span class="seachIcon"><i class="bi bi-search"></i></span>
</div>
<div class="selectFiltersDiv">
<select id="populationFilter" class="filterSelect">
<option value="" hidden>Filter by population</option>
<option value="0-1000000000000">All</option>
<option value="0-5000">Less than 5,000</option>
<option value="5000-100000">5,000 - 1 Lakh</option>
<option value="100000-500000">1 Lakh - 5 Lakh</option>
<option value="500000-1000000">5 Lakh - 10 Lakh</option>
<option value="1000000-5000000">10 Lakh - 50 Lakh</option>
<option value="5000000-1000000000000">More than 50 Lakh</option>
</select>
<select id="regionFilter" class="filterSelect">
<option value="" hidden>Filter by region</option>
<option value="all">All</option>
<option value="Africa">Africa</option>
<option value="Americas">America</option>
<option value="Asia">Asia</option>
<option value="Europe">Europe</option>
<option value="Oceania">Oceania</option>
<option value="Antarctic">Antarctic</option>
</select>
</div>
</div>
</div>
</section>
<section class="flagCardsSection">
<div class="container">
<p id="updateText"></p>
<div class="flagCardsDiv" id="flagCardsDiv">
<!-- <div class="flagCard">
<div class="upperImgDiv"><img src="https://flagcdn.com/in.svg" alt="Image"></div>
<div class="lowerDetailsDiv">
<h2 id="countryName">India</h2>
<p><strong>Population: </strong><span id="populationCount">12,00,000,000</span></p>
<p><strong>Region: </strong><span id="region">Asia</span></p>
<p><strong>Capital: </strong><span id="capital">New-Delhi</span></p>
</div>
<p class="moreDetails"><a href="#"><i class="bi bi-arrow-right-square-fill"></i></a></p>
</div> -->
</div>
</div>
</section>
<section class="paginationSection">
<div class="container">
<div class="paginationDiv">
<button id="prevBtn" class="btn">Prev</button>
<p id="pageNumber">1</p>
<button id="nextBtn" class="btn">Next</button>
</div>
</div>
</section>
<script src="./src/js/theme.js"></script>
<script src="./src/js/index.js"></script>
</body>
</html>