-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
42 lines (38 loc) · 1.45 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Countries</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="container mt-5 mb-4" style="min-height: 80vh">
<h4 class="text-center font-weight-bold text-primary mb-5">Countries & States Js</h4>
<div class="row">
<div class="col-md-6 offset-md-3">
<div data-toggle-group="location">
<div class="form-group">
<label>Country</label>
<select class="form-control" name="country" data-toggle="country" data-country=""></select>
</div>
<div class="form-group">
<label>State</label>
<select class="form-control" name="country" data-toggle="state" data-state=""></select>
</div>
</div>
</div>
</div>
</div>
<footer class="text-center">
<p>Find me on <a href="https://github.com/srikanthreddy919/countries-js">Github</a></p>
</footer>
<script type="text/javascript" src="dist/countries.min.js"></script>
<script type="text/javascript">
document.addEventListener("load", loadCountries());
</script>
</body>
</html>