-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
executable file
·94 lines (80 loc) · 2 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TESTING EVENT APIs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Important Owl stylesheets -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"/>
<!-- jQuery Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Owl Carousel 2 Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<!-- <script src="eeventfulAPI.js"></script> -->
<script src="yelpAPI.js"></script>
<!-- Temporary Styling for Owl -->
<style>
img{
max-width: 300px
}
#owl-demo .item {
background: #a1def8;
padding: 30px 0px;
display: block;
margin: 5px;
color: #fff;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
text-align: center;
}
#owl-demo .item {
margin: 3px;
}
#owl-demo .item img {
display: block;
width: 50%;
height: auto;
}
.owl-theme .owl-controls .owl-page {
display: inline-block;
}
.owl-theme .owl-controls .owl-page span {
background: none repeat scroll 0 0 #869791;
border-radius: 20px;
display: block;
height: 12px;
margin: 5px 7px;
opacity: 0.5;
width: 12px;
}
.owl-prev span, .owl-next span {
width: 2rem;
font-size: 4rem;
}
.owl-theme .owl-nav [class*=owl-]:hover {
background: none;
color: #000000;
}
.checked::before {
padding: 10px;
content: "\2713 ";
background: green;
color: white;
border: 2px solid green;
border-radius: 50%;
font-size: 20px;
position: absolute;
right: 20px;
}
</style>
</head>
<body>
<div id="yelp-results"></div>
<div id="eventful-results"></div>
<div id ="carousel-container"></div>
</div>
</body>
</html>