-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (87 loc) · 4.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Giphy-API</title>
<!-- CSS Reset -->
<link rel="stylesheet" type="text/css" href="assets/reset.css">
<!-- Bootstrap Link -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div id="body" class="container">
<div class="row">
<div class="col">
<h1>Sporty--Giphies</h1>
</div>
<div class="col-md-auto">
</div>
<div class="col col-lg-2" id='links'>
<a href="https://github.com/CodeNode21/">
<img src="assets/images/GitHub-Mark-32px.png" height="32" width="32" alt="github link">
</a>
<a href="https://www.linkedin.com/in/matbednara/">
<img src="assets/images/LI-In-Bug.png" height="26" width="32" alt="linkedin link">
</a>
<a href="https://codenode21.github.io/">
<img src="assets/images/MBwhitendblack.png" height="32" width="32" alt="MB link">
</a>
</div>
</div>
</div>
<div class="container">
<!-- Search bar goes here -->
<form>
<div class="form-group">
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter a Giphy category here..">
<small id="emailHelp" class="form-text text-muted">or just check out pre-made categories below</small>
</div>
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
<div class="container" id="button-field">
<!-- pre-made categories go here -->
<!-- <button type="button" class="btn btn-primary">Tennis</button>
<button type="button" class="btn btn-secondary">Soccer</button>
<button type="button" class="btn btn-success">NBA</button>
<button type="button" class="btn btn-danger">MLB</button>
<button type="button" class="btn btn-warning">NFL</button>
<button type="button" class="btn btn-info">NHL</button>
<button type="button" class="btn btn-light">UFC</button>
<button type="button" class="btn btn-dark">WWE</button>
<button type="button" class="btn btn-info">NCAA</button>
<button type="button" class="btn btn-light">PGA</button>
<button type="button" class="btn btn-dark">Rugby</button> -->
</div>
<div class="container" id="giph-field">
<!-- Giphs will display here -->
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
<!-- Jquery -->
<script
src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<script src="assets/js/logic.js">
// var search = "http://api.giphy.com/v1/gifs/search?q="+ topic + "&api_key="+ apiKey + "&limit=10";
// $.ajax({
// url: search,
// method: "GET"
// }).then(function(response){
// console.log("success got data", response.data);
// })
// clicking on the results starts and stops the giphy
</script>
<!-- Bootstrap JS plugins -->
<!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> -->
</body>
</html>