-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (83 loc) · 2.54 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
84
85
86
<!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="css/main.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
/>
<title>
Frontend Mentor(ajormoses) | rest-countries-api-with-color-theme-switcher
</title>
</head>
<body>
<main>
<header>
<div class="container">
<div class="header">
<p>Where in the world?</p>
<div class="theme-mode">
<div class="light-mode">
<i class="fa-solid fa-sun"></i>
<p>Light Mode</p>
</div>
<div class="dark-mode">
<i class="fa-solid fa-moon"></i>
<p>Dark Mode</p>
</div>
</div>
</div>
</div>
</header>
<section>
<form class="search-filter">
<div class="container">
<div class="search-filter-content">
<div class="search">
<i class="fa-solid fa-magnifying-glass"></i>
<input
aria-label="search"
type="text"
class="input"
name="search"
placeholder="Search for a country..."
/>
</div>
<div class="filter">
<div id="filter">
<p>Filter by Region</p>
<i class="fa-solid fa-angle-down arrow"></i>
</div>
<ul class="drop-down">
<li class="africa">Africa</li>
<li class="america">America</li>
<li class="asia">Asia</li>
<li class="europe">Europe</li>
<li class="oceania">Oceania</li>
</ul>
</div>
</div>
</div>
</form>
<article class="countries">
<div class="wrapper">
<div class="countries-card">
<!-- Countries API goes here -->
</div>
</div>
</article>
<article class="back">
<div class="container">
<div class="countries-details">
<!-- Country Back button goes here -->
</div>
</div>
</article>
</section>
</main>
<script src="script.js"></script>
</body>
</html>