-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (33 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<div class="container m-5 bg-dark-subtle p-2">
<div class="d-flex" role="search">
<input id="txtInput" class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit" onclick="searchCountry()">Search</button>
</div>
</div>
<div class="container">
<div class="row">
<img id="flagImg" src="" alt="flag">
<h1 id="name" class="text-black-50">Name</h1>
<p id="officialName" class="text-black-50">Offcial Name</p>
<p id="region" class="text-black-50">Region</p>
<p id="area" class="text-black-50">Area</p>
</div>
</div>
<h1 class="text-center m-3 text-black-50 text-opacity-75">All Countries</h1>
<div class="container vh-50">
<table class="table table-dark table-striped " id=tblCountries border="4">
</table>
</div>
<script src="app.js"></script>
</body>
</html>