-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (71 loc) · 2 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
72
73
<!--
Created by Krish and Good_Bits
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Giphy App</title>
<link rel="stylesheet" href="style.css" />
<script src="./app.js"></script>
</head>
<body>
<section id="loader">
<div>
<div class="load load-1"></div>
<div class="load load-2"></div>
<div class="load load-3"></div>
</div>
</section>
<div class="wrapper dark-theme">
<div class="search-bar-container">
<input
type="text"
id="search-bar"
autocomplete="off"
placeholder="Search your favorite GIFs"
/>
<button type="submit" onclick="startsearch()" class="search-btn btn">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<g
stroke-width="3"
transform="translate(0.5 0.5)"
fill="none"
stroke="#fff"
>
<line x1="22" y1="22" x2="16.4" y2="16.4"></line>
<circle stroke="#fff" cx="10" cy="10" r="9"></circle>
</g>
</svg>
</button>
</div>
<div class="main">
<div class="gif-container"></div>
<div class="pagination" data-state="hidden">
<button onclick="next()" class="next-btn btn">
Load More
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<title>ic_navigate_next_24px</title>
<g fill="#fff">
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
</g>
</svg>
</button>
</div>
</div>
</div>
<!-- used for copy to clipboard function -->
<input type="text" id="hidden-input" />
</body>
</html>