-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
249 lines (194 loc) · 6.15 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head>
<body>
<!-- header -->
<div class="header">
<h1>Bookage</h1>
<h6 class = "fun"> We are
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "change.", "knowledge.", "community.", "Bookage." ]'></span>
</h6>
</div>
<!-- nav bar -->
<ul>
<li><a class="active" href="index.html">Home</a></li>
<li><a href="Entertainment Book club.html">Entertainment</a>
<li><a href="Social Justice.html">Social Justice </a>
</li>
<li><a href="Mental Health Book Club.html">Mental Health</a>
</li>
<li><a href="Forum.html">Forum</a>
</li>
</ul>
<!-- The start of the About Us Button -->
<br>
<style>
body {font-family: Arial, Helvetica, sans-serif;}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
/* The Close Button */
.close {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header {
padding: 2px 16px;
background-color: aliceblue;
color: white;
}
.modal-body {padding: 2px 16px;}
.modal-footer {
padding: 2px 16px;
background-color: aliceblue;
color: white;
}
</style>
</head>
<body>
<!-- Trigger/Open The Modal -->
<button id="myBtn">Open About Us</button>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>About Us</h2>
</div>
<div class="modal-body">
<p><center>An online platform that serves as a virtual book club that connects readers and knowledge seekers. Join our growing community of brilliant individuals and learn through group discussions! Created by amazing Kode with Klossy Scholars Remley, Nico, Archie, and Roya.</center></p>
</div>
<div class="modal-footer">
<h3>Click the X button to continue looking through the page~ </h3>
</div>
</div>
</div>
<script>
// Get the modal
var modal = document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<!-- End of About Us button -->
<!-- Main Part of Webpage -->
<!-- entertainment -->
<center>
<br>
<h2 class="bookheader"> Entertainment </h2>
<a href="Entertainment Book club.html" style="text-decoration: none;"><button>Join!</a></button><br>
</div>
<img src="https://images-na.ssl-images-amazon.com/images/I/51C8Tg0TCaL._SX322_BO1,204,203,200_.jpg" alt="The book thief">
<img src="https://images-na.ssl-images-amazon.com/images/I/81iqZ2HHD-L.jpg" alt="Harry potter and the sorcerers stone"
>
<img src="https://bit.ly/3pY5JrR"
alt="Little Women"
>
<img src= "https://bit.ly/3gveK8t"
alt="Pride and Prejudice"
><br>
<!-- mental health -->
<h2 class="bookheader"> Mental Health </h2>
<a href="Mental Health Book Club.html" style="text-decoration: none;"><button>Join!</a></button><br>
<img src="https://images-na.ssl-images-amazon.com/images/I/412tEZrBsjL._SX326_BO1,204,203,200_.jpg" alt="Your Erroneous Zones" >
<img src="https://images-na.ssl-images-amazon.com/images/I/71xPEIZnUXL.jpg" alt="Speak" >
<img src="https://d28hgpri8am2if.cloudfront.net/book_images/onix/cvr9781982110994/the-perks-of-being-a-wallflower-9781982110994_hr.jpg" alt="perks of being a wallflower" >
<img src="https://images-na.ssl-images-amazon.com/images/I/51eJtfC+AqL._SX321_BO1,204,203,200_.jpg" alt="it's kind of a funny story " >
<br>
<!-- social justice -->
<h2> Social Justice </h2>
<a href="Social Justice.html" style="text-decoration: none;"> <button>Join! </a></button><br>
<img src="https://m.media-amazon.com/images/I/41A2UunZ0aL.jpg" alt="the Hate U Give" >
<img src="https://m.media-amazon.com/images/I/81isnkToJUL._AC_UY218_.jpg" alt="I Am Not Your Perfect Mexican Daughter" >
<img src="https://m.media-amazon.com/images/I/81+CjQf22tL._AC_UY218_.jpg" alt="Roll of thunder hear my cry" >
<img src="https://bit.ly/3gBXiOr"
alt="I am malala"
><br>
<!-- Beginning of suggestion box -->
<div class="add-in-after">
<center>
<h3>Suggestion Box</h3>
<p>Would you like to recommend a book? If so, please include the genre.</p>
<div id="disappears">
<input type="radio" name="option" value="Yes" onclick="onButtonClick()">Yes
</div>
<div id="disappears1">
<input type="radio" name="option" value="No" onclick="offButtonClick()">No
</div>
</center>
</div>
<script src="script.js"></script>
<footer>
<br>
<p>Created By team 24<br>
</p>
</footer>
</body>
</html>