-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
78 lines (74 loc) · 2.28 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jumanji | Rest Countries Api</title>
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;600;800&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" type="text/css" href="style/style.css" />
<script src="script/script.js" defer></script>
</head>
<body class="light">
<header id="header">
<div class="title">
<h1>Where in the World?</h1>
</div>
<div class="themebtn">
<button class="btn" id="theme_btn">
<i class="fa fa-moon-o"></i> Dark Mode
</button>
</div>
</header>
<section id="contents">
<div class="options">
<div class="search_option">
<i class="fa fa-search"></i>
<input
type="text"
name="search"
id="search"
onkeyup="SearchTerm()"
placeholder="Search for a country..."
/>
</div>
<div class="filter_option">
<select class="region" id="region" onchange="Filter()">
<div class="region_options">
<option value="all" selected>Filter by Region</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>
</div>
</select>
</div>
</div>
</section>
<section id="loading">
<h2>Please Wait...</h2>
</section>
<section id="country_part">
<!---The countries will be fetched dynamically here ---->
</section>
<footer id="footer">
<div class="coder_part">
<small
>Coded By
<a
href="http://jumanjigobez.github.io/personal_portfolio"
target="_blank"
>Jumanji</a
></small
>
</div>
</footer>
</body>
</html>