-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
61 lines (53 loc) · 2.31 KB
/
index.php
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
<!doctype html>
<html lang="en">
<head>
<title>Giphys</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<div class="toast-container position-absolute top-0 end-0 p-3">
<div class="toast hide " role="alert" aria-live="assertive" aria-atomic="true" data-autohide="true">
<div class="toast-header">
<strong class="me-auto toast-title"></strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Giphy favourites</h1>
</div>
</div>
<div class="row">
<div class="col-md-6 menu">
<button class="btn btn-primary" id="fetch-giphys">
Fetch Giphys
<div class="spinner-border" role="status">
<span class="sr-only"></span>
</div>
</button>
</div>
<div class="col-md-6 search">
<input type="text" placeholder="Search..." id="search-bar" autofocus/>
<button class="btn btn-info" id="clear-search-bar">Clear</button>
</div>
</div>
</div>
<div class="container">
<div id="giphys" class="row giphy-grid">
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<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>
<script src="./js/script.js"></script>
</body>
</html>