-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (39 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Country App</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
crossorigin="anonymous"
/>
</head>
<body>
<div class="overall-container">
<div class="header">
<h2>Where in the world?</h2>
<button class="btn-dark-mode">
<i class="fas fa-moon"></i>
<span class="mode-label">Dark Mode</span>
</button>
</div>
<div class="main">
<div class="filter-container">
<div>
<input class="filter-countries" onkeyup="filterCountries(event)" type="text" placeholder="Search for a country..." />
</div>
<div>
<select class="region-selector" onchange="filterCountriesByRegion(event)" name="regions">
<option disabled selected value>Select an option</option>
</select>
</div>
</div>
<div class="countries-container"></div>
</div>
</body>
</html>