-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
328 lines (316 loc) · 19.5 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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Space Weights 🚀</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="main">
<h1 class="text-center text-info mt-5 animated fadeIn delay-1s" style="font-family:myFirstFont;font-size:3.9rem;">Space Weight</h1>
<div class="text-center mt-3 weigh animated fadeInUp delay-2s">
<p class="text-success text-center mt-5" style="font-size:1.9em;font-family:monospace;">Check your weight on different planets,
if your earth weight haunts you 😁</p>
</div>
</div>
<div class="input-group justify-content-center mt-5 animated fadeInUp delay-3s">
<input type="text" class="form-control font-weight-bold" id="userW" placeholder="Enter your weight 🏡">
<div class="input-group-append">
<select class="custom-select" id="Select01">
<option selected>Select Units</option>
<option value="1">kg</option>
<option value="2">lbs</option>
</select>
</div>
</div>
<!--MERCURY-->
<div class="row row-cols-1 row-cols-md-3 mt-5 grids d-none">
<div class="col-md-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-info text-center font-weight-bold" style="font-size:1.4em;">MERCURY</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace mercuryW"></span></p>
<a href="#Mercury" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Mercury">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">3.70m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">~1,408 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-184°C to
427°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">114.9 M
km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">3</span>
</p>
</div>
</div>
</div>
<!--VENUS-->
<div class="col mb-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-info text-center font-weight-bold" style="font-size:1.4em;">VENUS</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace venusW"></span></p>
<a href="#Venus" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Venus">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">8.87m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">~5,832 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-173°C
to 467°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">43.5
M km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">25</span>
</p>
</div>
</div>
</div>
<!--MOON-->
<div class="col mb-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-info text-center font-weight-bold" style="font-size:1.4em;">MOON</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace moonW"></span></p>
<a href="#Moon" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Moon">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">1.62m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">655.72 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-173°C
to 127°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">344,400 km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">77</span>
</p>
</div>
</div>
</div>
<!--MARS-->
<div class="col mb-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-success text-center font-weight-bold" style="font-size:1.4em;">MARS</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace marsW"></span></Weigh:span></p>
<a href="#Mars" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Mars">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">3.711m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">24.37 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-125°C
to 20°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">205 M km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">28</span>
</p>
</div>
</div>
</div>
<!--JUPITER-->
<div class="col mb-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-success text-center font-weight-bold" style="font-size:1.4em;">JUPITER</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace jupiterW"></span></p>
<a href="#Jupiter" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Jupiter">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">24.79m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">10 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-173°C
to 427°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">768 M km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">6</span>
</p>
</div>
</div>
</div>
<!--SATURN-->
<div class="col mb-4 ">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-success text-center font-weight-bold" style="font-size:1.4em;">SATURN</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace saturnW"></span></p>
<a href="#Saturn" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Saturn">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">10.44m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">11 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-185°C
to -122°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">1.5 B km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">5</span>
</p>
</div>
</div>
</div>
<!--URANUS-->
<div class="col mb-4 ">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-warning text-center font-weight-bold" style="font-size:1.4em;">URANUS</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace uranusW"></span></p>
<a href="#Uranus" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Uranus">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">8.87m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">17 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-218°C
to -153°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">3.1 B km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">1</span>
</p>
</div>
</div>
</div>
<!--NEPTUNE-->
<div class="col mb-4 ">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-warning text-center font-weight-bold" style="font-size:1.4em;">NEPTUNE</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace neptuneW"></span></p>
<a href="#Neptune" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Neptune">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">11.15m/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">16 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-218°C
to -200°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">4.6 B km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">1</span>
</p>
</div>
</div>
</div>
<!--PLUTO-->
<div class="col mb-4">
<div class="card text-white bg-dark " style="max-width:20rem;">
<div class="card-header">
<h5 class="card-title text-warning text-center font-weight-bold" style="font-size:1.4em;">PLUTO</h5>
</div>
<div class="card-body text-center">
<p class="card-text " style="font-family:monospace;font-size:1.7em;">You Weigh:
<span class="text-success font-weight-bold text-monospace plutoW"></span></p>
<a href="#Pluto" class="text-monospace text-decoration-none" data-toggle="collapse"
aria-haspopup="false" aria-controls="collapseExample" role="button"
aria-expanded="false">More <span class="fas fa-angle-down"></span></a>
</div>
</div>
<div class="collapse" id="Pluto">
<div class="card card-body bg-dark" style="max-width:20rem;line-height: 1.5rem;">
<p class="class-text text-monospace text-light">Gravity Pull:
<span class="text-warning font-weight-bold">0.62/s<sup>2</sup></span>
<br>
1 Day: <span class="text-warning font-weight bold">153 Earth hours</span><br>
Temp Range:<span class="text-warning font-weight-bold">-233°C
to -223°C</span>
<br>
Distance to Earth:<span class="text-warning font-weight-bold">77.3 M km</span>
<br>
Space Missions:<span class="text-warning font-weight-bold">1</span>
</p>
</div>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/0de963d6c4.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="scripts/script.js"></script>
</body>
</html>