-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (47 loc) · 2.18 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
<!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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<title>Phone Hunter</title>
</head>
<body>
<header class="text-center mt-2">
<h1>Phone <span class="text-primary">Hunter</span></h1>
<div class="d-flex justify-content-center">
<input type="text" placeholder="Search your phone" class="form-control w-25 me-2" id="input-field">
<button type="submit" class="btn btn-primary" id="search-btn">Search</button>
</div>
<h4 class="text-warning mt-5 d-none" id="d-none">No phone found</h4>
<!-- loader -->
<div id="loader" class="d-flex d-none align-items-center justify-content-center" style="height: 600px;">
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading...
</button>
</div>
</header>
<main class="container mt-5">
<div id="phone-container" class="row row-cols-1 row-cols-md-3 g-4">
</div>
<div class="d-flex justify-content-center">
<button class="btn btn-primary d-none" id="show-all">Show All</button>
</div>
</main>
<section>
<!-- Button trigger modal -->
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable" id="modal-details">
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<script src="app.js"></script>
</body>
</html>