-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (68 loc) · 2.55 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
<!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">
<title>Country Infos</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</head>
<body>
<div class="selector">
<h1 class="heading">Country Info</h1>
<div class="country">
<div class="select-country">
<label>Select a country</label>
<select name="flag" class="form-select flag" id="flag" aria-label="Default select example"
onchange="getFlag(this)">
<option value="">-- Select --</option>
</select>
</div>
<div class="flag-images"><img src="#" alt="select-flag" hidden /></div>
</div>
</div>
<div class="separator">
<div class="line-1"></div>
</div>
<div class="information">
<div class="country-info">
<div class="name">
<label for="name">
Country Name:
</label>
<input type="text" class="input-name" readonly />
</div>
<div class="capital">
<label for="capital">
Capital:
</label>
<input type="text" class="input-capital" readonly />
</div>
<div class="region">
<label for="region">
Region:
</label>
<input type="text" class="input-region" readonly />
</div>
<div class="population">
<label for="population">
Population:
</label>
<input type="text" class="input-population" readonly />
</div>
<div class="currency">
<label for="currency">
Currency:
</label>
<input type="text" value="" class="input-currency" readonly>
</div>
</div>
</div>
</body>
</html>