-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
52 lines (46 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Giphy app</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
</head>
<body>
<div id="header">
<div id="search-bar">
<input id="search-text" type="text" placeholder="Search GIFs" />
<button id="search-btn" type="submit">Search</button>
<!-- <button id="reset-btn">Reset</button> -->
</div>
</div>
<!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="openTab(event, 'Trending')">Trending</button>
<!-- <button class="tablinks" onclick="openTab(event, 'Popular')">Popular</button>
<button class="tablinks" onclick="openTab(event, 'Top30')">Top 30</button> -->
<button class="tablinks" onclick="openTab(event, 'Search')" id="defaultOpen">Search</button>
</div>
<!-- Tab content -->
<div id="Trending" class="tabcontent">
<div id="trending-gifs">
</div>
</div>
<div id="Popular" class="tabcontent">
<h3>Popular</h3>
<p>Popular gifs on giphy</p>
</div>
<div id="Top30" class="tabcontent">
<h3>Top30</h3>
<p>Top 30 on giphy</p>
</div>
<div id="Search" class="tabcontent">
<!-- <h3>Search</h3> -->
<div id="inner">
</div>
</div>
<script src="js/functions.js"></script>
</body>
</html>