-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (53 loc) · 2.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gifphy API Assignment</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<!--in case decide to add own stylesheet(css)-->
<link rel="stylesheet" type="text/css" href="assets/style/style.css">
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">
</head>
<body>
<!--jumbotron/header row-->
<div class="row">
<div class="container">
<div class="jumbotron">
<div class="container">
<h1 class="display-3">All My Favorite Things</h1>
<p class="lead">Click on the buttons below to display my favorite things</p>
</div>
</div>
</div>
<!--row for buttons;already listed favorite things-->
<!--row for also input form for new buttons-->
<div class="row">
<div class="col-md-6" id="buttonsToClick">
<button class="btn btn-primary" id="show" data-search="Books">Books</button>
<button class="btn btn-primary" id="show" data-search="Sleep">Sleep</button>
<button class="btn btn-primary" id="show" data-search="Pasta">Pasta</button>
<button class="btn btn-primary" id="show" data-search="Candy">Candy</button>
<!--button on line 37 works, but does not give intended effect-->
<!--<button id="newFavoriteThing"></button>-->
</div>
<!--input for new buttons to be added-->
<div class="col-md-6">
<form action="form-inline" id="favoriteThingsSearch">
<div class="form-group">
<label for="favoriteThingsInput">Add more of my favorite things</label>
<input type="text" id="favoriteThingsInput">
</div>
<input id="addFavoriteThings" type="submit" value="submit">
</form>
</div>
</div>
<!--use the remaining space on HTML page for display of gifs-->
<div class="row">
<div id="showGifs"></div>
</div>
<!--link to jquery above script tags with js-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="assets/javascript/script.js"></script>
</div>
</body>
</html>