-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
165 lines (145 loc) · 8.2 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!-- Alex's work -->
<!DOCTYPE html>
<html class="no-js" lang="en-US" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Quarantine Media Recommender</title>
<!-- Foundation Links (compressed css and js) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.6.3/dist/css/foundation.min.css" integrity="sha256-ogmFxjqiTMnZhxCqVmcqTvjfe1Y/ec4WaRj/aQPvn+I=" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/foundation-sites@6.6.3/dist/js/foundation.min.js" integrity="sha256-pRF3zifJRA9jXGv++b06qwtSqX1byFQOLjqa2PTEb2o=" crossorigin="anonymous"></script>
<!-- CSS Link -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- JQuery Link -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/6b1cbbe265.js" crossorigin="anonymous"></script>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@700&family=Major+Mono+Display&display=swap" rel="stylesheet">
</head>
<!-- Body -->
<body>
<!-- Top bar -->
<div class="top-bar topbar-desktop">
<div class="wrap">
<div class="top-bar-left">
<h3><i class="fas fa-icons heart"></i><span class="logoqmr" id="logoqmr">QMR</span></h3>
</div>
</div>
</div>
<!-- Hero section -->
<div class="hero">
<div class="wrap">
<h2>Introducing <span class="qmr">Quarantine Media Recommender</span></h2>
<p class="slogan"> A tool for killing boredom during quarantine.</p>
</div>
</div>
<div class="wrap">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="large-8 medium-8 small-12 cell">
<!-- Search Bar and Button -->
<div class="grid-x grid-padding-x">
<div class="large-12 medium-12 small-12 cell">
<div class="callout" id="searchbar">
<div class="grid-x grid-padding-x">
<div class="large-11 medium-11 small-11 cell">
<input id="input-field" type="search" placeholder="Search">
</div>
<div class="large-1 medium-1 small-1 cell">
<button type="submit" class="button secondary hollow" id="searchbtn"><i class="fas fa-search"></i></button>
</div>
<div class="searchoptions">
<input type="radio" name="book" value="book" id="search-type"><label for="book">Book</label>
<input type="radio" name="movie" value="movie" id="search-type"><label for="movie">Movie</label>
<input type="radio" name="song" value="song" id="search-type"><label for="song">Song</label>
<button id="reload" class="hollow button secondary reload" href="#">Clear</button>
</div>
</div>
</div>
</div>
</div>
<!-- Search Results -->
<div class="grid-x grid-padding-x">
<div class="large-12 medium-12 small-12 cell box12">
<h4 id="searchres">Search Results:</h4>
<div class="grid-x" id="searchresults"></div>
</div>
</div>
</div>
<!-- Suggestions -->
<div class="large-4 medium-4 small-12 cell">
<div class="callout" id="suggestions">
<h4>Suggestions:</h4>
<hr>
</div>
</div>
</div>
<hr>
<!-- New Review -->
<form>
<div class="callout" id="newreview">
<h4>New Review</h4>
<div class="grid-x grid-padding-x">
<!-- Input title for review -->
<div class="large-5 medium-5 cell">
<label>Title</label>
<input id="item-input" type="text" placeholder="Thor: Ragnarok" required>
</div>
<!-- Input category for review -->
<div class="large-4 medium-4 cell">
<label>Category</label>
<input type="radio" name="category" value="book" id="media-type"><label for="book">Book</label>
<input type="radio" name="category" value="movie" id="media-type" checked><label for="movie">Movie</label>
<input type="radio" name="category" value="song" id="media-type"><label for="song">Song</label>
</div>
<!-- Select star rating for review -->
<div class="large-3 medium-3 cell">
<label>Rating</label>
<select name="stars" id="stars">
<option value="1">★ ☆ ☆ ☆ ☆</option>
<option value="2">★ ★ ☆ ☆ ☆</option>
<option value="3">★ ★ ★ ☆ ☆</option>
<option value="4">★ ★ ★ ★ ☆</option>
<option value="5" selected>★ ★ ★ ★ ★</option>
</select>
</div>
<!--Text area for review -->
<div class="large-8 medium-8 small-8 cell">
<label for="review-area">Review</label>
<textarea id="review-area" name="review" rows="3" cols="40" placeholder="Best movie ever! God of Thunder...need I say more?! (30 character min)" minlength="30" required></textarea>
</div>
<!-- Submit button for review -->
<div class="large-2 medium-2 cell">
<a href="#" class="button secondary" id="submission">Submit Review</a>
</div>
</div>
</div>
</form>
<!-- Previous Reviews/Ratings Listed -->
<div class="grid-x grid-padding-x">
<div class="large-12 cell">
<div class="callout" id="ratings">
<h4>Ratings:</h4>
<hr>
<button id="clear-click" class="button secondary hollow">Clear History</button>
<div id="journal"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<div>
<p> Copyright © 2020 .spartans(); </p>
</div>
</footer>
<!-- Javascript -->
<script src="script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
</body>
</html>