-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (98 loc) · 3.57 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GIFTastic</title>
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css?family=Arimo|Nunito" rel="stylesheet">
<!-- Added link to the jQuery CDN Library -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<!-- Fontawesome CDN -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous">
</head>
<body id="gradient">
<main>
<!-- Scroll To Top Button -->
<div class='scrolltop'>
<div class='scroll-btn icon'>
<a href="#gradient"><i class="fa fa-2x fa-angle-up"></i></a>
</div>
</div>
<!-- End of Scroll To Top Button -->
<div class="container">
<!-- Row #1: Title -->
<div class="row">
<div class="col-xs-12">
<h1>GIFTastic - Funny Animal GIFs</h1>
<h4>Check out these funny and adorable animal gifs to brighten up your day.</h4>
<h4>Click on the GIF category buttons or create a new GIF category of your choice!</h4>
<h3>Have a great day! ☺</h3>
<hr>
</div>
</div>
<!-- End of Row #1: Title -->
<!-- Row #2 -->
<!-- Buttons -->
<div class="row">
<div class="col-xs-12 col-sm-6 search column">
<h3>Search GIFs by Category:</h3>
<div id="category-btns-wrapper"></div>
</div>
<!-- Form with Custom Input -->
<div class="col-xs-12 col-sm-5 col-sm-offset-1 column">
<form class="form" id="form">
<div class="form-group">
<label for="animalInput"><h3>Add a New GIF Category:</h3></label>
<input type="text" class="form-control" id="input" placeholder='Please type in a new GIF category i.e. "duckling, baby elephant"'>
<br>
<button type="submit" class="btn btn-primary btn-md no-sticky-focus" id="submit">Submit</button>
</form>
</div>
</div>
<!-- End of Row #2 -->
<!-- Row #3: horizaontal line -->
<div class="row">
<div class="col-xs-12">
<hr>
</div>
</div>
<!-- End of Row #3: horizaontal line -->
<!-- Row #4: GIF Images -->
<div class="row">
<div class="col-xs-12 gif-container">
<h3>GIF Images Search Results:</h3>
<h4>Hover your mouse over the GIF images to play the animation.</h4>
<div id="gifs">
</div>
</div>
</div>
<!-- End of Row #4: GIF Images -->
<!-- Row #5: Load More Button and Alert Message -->
<div class="row">
<div class="col-xs-12">
<div id="loadMore">
<a href="#" class="btn btn-primary no-sticky-focus">Load More</a>
</div>
<div id="alert">
</div>
</div>
</div>
<!-- End of Row #5: Load More Button and Alert Message -->
</div>
</main>
<footer>
<image src="assets/images/Poweredby_100px_Badge.gif" ></image>
Created by <a href="http://www.guiyuzhao.com">Guiyu Zhao</a>
</footer>
<!-- Adds a link to the javascript file. -->
<script src="assets/javascript/app.js"></script>
</body>
</html>