-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (57 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
<!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">
<meta name="description" content="Countries REST API to display and search for all countries">
<meta http-equiv="author" content="Udhe Austine Ogaga">
<title>Countries REST API by Austinet</title>
<!-- font-->
<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=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;1,6..12,800&display=swap" rel="stylesheet">
<!-- icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- stylesheet -->
<link rel="stylesheet" href="css/styles.css">
</head>
<body id="body" class="light-mode">
<!-- header section -->
<header>
<div class="header container">
<h1>Where in the world?</h1>
<button id="mode-btn"><i class="far fa-moon"></i><span id="mode">Dark Mode</span></button>
</div>
</header>
<!-- main section -->
<main class="container">
<section id="search-filter">
<div>
<!-- search and filter section -->
<form action="">
<div class="form-control search-div">
<i class="fas fa-search"></i>
<input type="search" name="search" id="search" placeholder="Search for a country...">
</div>
<div id="region">
<p id="select-toggle"><span>Filter by Region</span> <i class="fas fa-chevron-down"></i></p>
<ul id="select-list">
<li>Africa</li>
<li>Americas</li>
<li>Asia</li>
<li>Europe</li>
<li>Oceania</li>
</ul>
</div>
</form>
</div>
</section>
<!-- countries entry point -->
<section id="countries">
</section>
</main>
<script src="js/mode.js"></script>
<script src="js/app.js"></script>
</body>
</html>