-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (47 loc) · 2.19 KB
/
index.html
File metadata and controls
53 lines (47 loc) · 2.19 KB
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>
<title>Giphys</title>
<meta charset="utf-8">
<link rel="stylesheet" href="assets/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<body id="wholeThing">
<!-- Header formatting and text -->
<div class="jumbotron" id="header">
<img id="topImageL" src="https://media1.giphy.com/media/12JzCg2xAUIEHm/giphy.gif?cid=790b76115d17a0bf7163583132998293&rid=giphy.gif">
<img id="topImageR" src="https://media1.giphy.com/media/7DeOWsF013XZm/giphy.gif?cid=790b76115d17a0bf7163583132998293&rid=giphy.gif">
<h1>My Favorite Animated TV Characters</h1>
<h4>Click the blue buttons to display GIPHYs of my favorite characters<br>You can click each GIPHY to make it pause or play.<br>You may also add your own characters!</h4>
</div>
<!-- Form creation for user input and submission -->
<form class="form-inline" id="userSearch">
<div class="form-group">
<label for="userInput">Search for Your Favorite Character</label>
<input type="text" id="userInput">
</div>
<input id="addname" type="Submit" value="Submit">
</form>
<!--Creation of buttons to show on load -->
<div class="row">
<div class="container">
<div class="btn-group inline pull-left">
<button class="btn btn-primary" id="familyguy" data-search="Peter Griffin">Peter Griffin</button>
<button class="btn btn-primary" id="familyguy" data-search="Penny Proud">Penny Proud</button>
<button class="btn btn-primary" id="familyguy" data-search="South Park Chef">South Park Chef</button>
<button class="btn btn-primary" id="familyguy" data-search="Tina Belcher">Tina Belcher</button>
<div id="myButtons"></div>
</div>
</div>
</div>
<!--For Gifs to show -->
<div class="row">
<div class="container">
<span><div id="gifArea"></div></span>
</div>
</div>
<script type="text/javascript" src="assets/giphy.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</body>
</html>