-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1506 lines (1407 loc) · 56.8 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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Our Solar System</title>
<meta name="description" content="Explore Our Solar System - a website created by Pabitra Banerjee to help you understand the solar system better.">
<meta name="keywords" content="solar system, planets, astronomy, space exploration, Pabitra Banerjee">
<meta name="author" content="Pabitra Banerjee">
<meta name="robots" content="index, follow">
<meta property="og:title" content="Our Solar System">
<meta property="og:description" content="Explore Our Solar System - a website created by Pabitra Banerjee to help you understand the solar system better.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://pabitrabanerjee.me/Our-Solar-System">
<meta property="og:image" content="https://pabitrabanerjee.me/Our-Solar-System/images/sun.png">
<meta property="og:site_name" content="Our Solar System">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Our Solar System">
<meta name="twitter:description" content="Explore Our Solar System - a website created by Pabitra Banerjee to help you understand the solar system better.">
<meta name="twitter:image" content="https://pabitrabanerjee.me/Our-Solar-System/images/sun.png">
<link rel="shortcut icon" href="images/sun.png" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css"
integrity="sha512-10/jx2EXwxxWqCLX/hHth/vu2KY3jCF70dCQB8TSgNjbCVAC/8vai53GfMDrO2Emgwccf2pJqxct9ehpzG+MTw=="
crossorigin="anonymous" referrerpolicy="no-referrer">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav>
<a href="#home" class="logo">Solar<span class="text-yellow fw-700"> System</span></a>
<div class="hamburger-menu" id="hamburgerMenu" onclick="showMobileMenu()"></div>
<div class="mobileMenu" id="mobileMenu">
<div class="top-section">
<a href="#solar-system" class="nav-link" onclick="resetMobileMenu()">Solar System</a>
<a href="#apollo11" class="nav-link" onclick="resetMobileMenu()">Apollo 11</a>
<a href="#metrics" class="nav-link" onclick="resetMobileMenu()">Planet Metrics</a>
</div>
<div class="bottom-section">
<ul>
<li onclick="currentSlide(1) ; moveToPlanetCarousel() ; resetMobileMenu()">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('mercury-info')">Mercury</a>
</li>
<li onclick="currentSlide(2) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('venus-info')">Venus</a>
</li>
<li onclick="currentSlide(3) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('earth-info')">Earth</a>
</li>
<li onclick="currentSlide(4) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('mars-info')">Mars
</a>
</li>
<li onclick="currentSlide(5) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('jupiter-info')">Jupiter
</a>
</li>
<li onclick="currentSlide(6) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('saturn-info')">Saturn</a>
</li>
<li onclick="currentSlide(7) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('uranus-info')">Uranus</a>
</li>
<li onclick="currentSlide(8) ; moveToPlanetCarousel(); resetMobileMenu() ">
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('neptune-info')">Neptune</a>
</li>
</ul>
</div>
</div>
<div class="nav-list">
<a href="#solar-system" class="nav-link" onclick="resetDropdown()">Solar System</a>
<a href="#apollo11" class="nav-link" onclick="resetDropdown()">Apollo 11</a>
<a href="#metrics" class="nav-link" onclick="resetDropdown()">Planet Metrics</a>
<details>
<summary class="planets-dropdown fw-300">Planets</summary>
<ul>
<li onclick="currentSlide(1) ; moveToPlanetCarousel()">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('mercury-info')">Mercury</a>
</li>
<li onclick="currentSlide(2) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('venus-info')">Venus</a>
</li>
<li onclick="currentSlide(3) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('earth-info')">Earth</a>
</li>
<li onclick="currentSlide(4) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('mars-info')">Mars
</a>
</li>
<li onclick="currentSlide(5) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('jupiter-info')">Jupiter
</a>
</li>
<li onclick="currentSlide(6) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('saturn-info')">Saturn</a>
</li>
<li onclick="currentSlide(7) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('uranus-info')">Uranus</a>
</li>
<li onclick="currentSlide(8) ; moveToPlanetCarousel() ">
<i class="fa-solid fa-shuttle-space"></i>
<a href="#planet-carousel" class="nav-link" onclick="viewFacts('neptune-info')">Neptune</a>
</li>
</ul>
</details>
</div>
</nav>
<header id="home" onclick="resetDropdown()">
<div class="carousel" id="planet-carousel">
<!-- arrows -->
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Mercury</h2>
<h3 class="sub-title fw-300 text-yellow">The Smallest Planet</h3>
<p class="content">
Mercury is the smallest planet in the Solar System and the closest
to the Sun. Its orbit around the Sun takes 87.97 Earth days, the
shortest of all the Sun's planets.Mercury rotates in a way that is
unique in the Solar System.Its orbital eccentricity is the largest
of all known planets in the Solar System.
</p>
<button class="learn-more-btn" onclick="viewFacts('mercury-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet mercury"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Venus</h2>
<h3 class="sub-title fw-300 text-yellow">The Hottest Planet</h3>
<p class="content">
Second planet from the Sun.It is named after the Roman goddess of
love and beauty.Venus is a terrestrial planet and is sometimes
called Earth's "sister planet" because of their similar size,
mass, proximity to the Sun, and bulk composition.As one of the
brightest objects in the sky, Venus has been a major fixture in
human culture for as long as records have existed.
</p>
<button class="learn-more-btn" onclick="viewFacts('venus-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet venus"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Earth</h2>
<h3 class="sub-title fw-300 text-yellow">The Planet with Life</h3>
<p class="content">
Third planet from the Sun and the only astronomical object known
to harbor life. It is the densest planet in the Solar System. Of
the four rocky planets, it is the largest and most massive.Earth
is orbited by one permanent natural satellite, the Moon.Earth's
atmosphere consists mostly of nitrogen and oxygen.It was formed
over 4.5 billion years ago.
</p>
<button class="learn-more-btn" onclick="viewFacts('earth-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet earth"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Mars</h2>
<h3 class="sub-title fw-300 text-yellow">The Red Planet</h3>
<p class="content">
Fourth planet from the Sun and the second-smallest planet in the
Solar System.The days and seasons are comparable to those of
Earth, because the rotation period as well as the tilt of the
rotational axis relative to the ecliptic plane are similar. Mars
is the site of Olympus Mons, the largest volcano and highest known
mountain on any planet in the Solar System. Mars has two moons,
Phobos and Deimos, which are small and irregularly shaped.
</p>
<button class="learn-more-btn" onclick="viewFacts('mars-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet mars"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Jupiter</h2>
<h3 class="sub-title fw-300 text-yellow">The Gas Giant</h3>
<p class="content">
Fifth planet from the Sun and the largest in the Solar System.
Jupiter is the third brightest natural object in the Earth's night
sky after the Moon and Venus.It is a gas giant with a mass more
than two and a half times that of all the other planets in the
Solar System combined. There is a Great Red Spot, a giant storm
known to have existed since at least the 17th century when
telescopes first saw it.
</p>
<button class="learn-more-btn" onclick="viewFacts('jupiter-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet jupiter"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Saturn</h2>
<h3 class="sub-title fw-300 text-yellow">The Ring Planet</h3>
<p class="content">
Sixth planet from the Sun and the second-largest in the Solar
System, after Jupiter. The planet's most notable feature is its
prominent ring system, which is composed mainly of ice particles,
with a smaller amount of rocky debris and dust. Titan, Saturn's
largest moon and the second largest in the Solar System, is larger
than the planet Mercury, although less massive, and is the only
moon in the Solar System to have a substantial atmosphere.
</p>
<button class="learn-more-btn" onclick="viewFacts('saturn-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="saturn"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Uranus</h2>
<h3 class="sub-title fw-300 text-yellow">The Coldest Planet</h3>
<p class="content">
Seventh planet from the Sun and has the third-largest diameter in
our solar system.Uranus was discovered in 1781 by astronomer
William Herschel, although he originally thought it was either a
comet or a star.Uranus is similar in composition to Neptune, and
both have bulk chemical compositions which differ from that of the
larger gas giants Jupiter and Saturn.
</p>
<button class="learn-more-btn" onclick="viewFacts('uranus-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet uranus"></figure>
</div>
</div>
<div class="slide">
<div class="description slideUp">
<h2 class="title">Neptune</h2>
<h3 class="sub-title fw-300 text-yellow">The Outermost Planet</h3>
<p class="content">
Eighth planet from the Sun. In the Solar System, it is the
fourth-largest planet by diameter, the third-most-massive planet,
and the densest giant planet. It is 17 times the mass of Earth,
slightly more massive than its near-twin Uranus. Neptune is denser
and physically smaller than Uranus because its greater mass causes
more gravitational compression of its atmosphere. It is referred
to as as one of the solar system's two ice giant planets.
</p>
<button class="learn-more-btn" onclick="viewFacts('neptune-info')">
Learn More
</button>
</div>
<div class="stage">
<figure class="planet neptune"></figure>
</div>
</div>
</div>
</header>
<!-- Solar System -->
<section class="solar-system-container" id="solar-system" onclick="resetDropdown()">
<div class="blob">Hover</div>
<div class="solar-system">
<div class="orbit-lines mercury-line"></div>
<div class="orbit-lines venus-line"></div>
<div class="orbit-lines earth-line"></div>
<div class="orbit-lines mars-line"></div>
<div class="orbit-lines jupiter-line"></div>
<div class="orbit-lines saturn-line"></div>
<div class="orbit-lines uranus-line"></div>
<div class="orbit-lines neptune-line"></div>
<!-- side card -->
<div class="solar-side-card flex-center" id="solarSideCard">
<div class="solar-side-info" id="sideInfoSun">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Sun <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
The energy created by the Sun’s core is nuclear fusion. This
huge amount of energy is produced when four hydrogen nuclei are
combined into one helium nucleus.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
The Sun is halfway through its life. At 4.5 billion years old,
the Sun has burned off around half of its hydrogen stores and
has enough left to continue burning hydrogen for another 5
billion years. Currently the Sun is a yellow dwarf star.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
The Sun rotates in the opposite direction to Earth with the Sun
rotating from west to east instead of east to west like Earth.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
The Sun has a powerful magnetic field. When magnetic energy is
released by the Sun during magnetic storms, solar flares occur
which we see on Earth as sunspots. Sunspots are dark areas on
the Sun’s surface caused by magnetic variations.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoMercury">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Mercury <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
After the Earth, Mercury is the second densest planet. Despite
its small size, Mercury is very dense because it is composed
mainly of heavy metals and rock.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Mercury is named after the messenger of the Roman gods, who is
also known as Hermes in Greek mythology. This is because of the
speed in which Mercury orbits the Sun and the speed with which
Mercury the Roman deity was able to deliver messages.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
It was once believed that a planet called Vulcan existed between
the orbit of Mercury and the Sun – however the existence of such
a planet was never found.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
Mercury is the only planet which doesn’t rotate exactly once
every year – instead rotating three times for every two orbits
of the Sun. This is because it is nearly tidally locked to the
Sun.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoVenus">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Venus <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
One day on Venus is longer than one year. Due to the slow
rotation on its axis, it takes 243 Earth-days to complete one
rotation. The orbit of the planet takes 225 Earth-days – making
a year on Venus shorter on day on Venus.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
The temperature on Venus doesn’t vary much between the night and
day. This is due to the slow movement of the solar winds across
the surface of the planet.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
Venus has a very weak magnetic field. This surprised scientists,
who expected Venus to have a magnetic field similar in strength
to Earth’s. One possible reason for this is that Venus has no
solid inner core, or that its core is not cooling.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
Venus orbits the sun in an ellipse, but its orbit is the closest
to being a circle out of all the planets in the Solar System.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoEarth">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Earth <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
The Earth was once believed to be the centre of the universe.
For 2000 years ancient astronomers believed that the Earth was
static and had other celestial bodies travelling in circular
orbits around it.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Earth’s water was initially trapped within the planet. Over time
the Earth’s water was brought to the surface by the planet’s
volcanic activity.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
The highest point found on Earth is Mount Everest which reaches
a height of 8.8 km.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
The lowest point on Earth is called Challenger Deep and at 10.9
km below sea level, it is further than the peak of Mount
Everest.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoMars">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Mars <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
Mars is the only other planet besides Earth that has polar ice
caps. The northern cap is called the Planum Boreum, with Planum
Australe in the south. Water ice has also been found under the
Martian ice caps.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Mars has seasons like Earth, but they last twice as long. This
is because Mars is tilted on its axis by about 25.19 degrees,
which is similar to the axial tilt of the Earth (22.5 degrees).
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
Mars does not have a magnetic field – although there are some
scientists that believe it did have a magnetic field somewhere
around 4 billion years ago.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
The orbit of Mars is the most eccentric of the eight planets.
This means it is the least circular orbit path of the planets.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoJupiter">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Jupiter <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
Jupiter has the shortest day of the eight planets. The planet
rotates very Jupiter rotates very quickly, turning on its axis
once every 9 hours and 55 minutes. This rapid rotation is also
what causes the flattening effect of the planet, which is why it
has an oblate shape.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Jupiter has a very unique cloud layer. The upper atmosphere of
the planet is divided into zones and cloud belts which are made
of ammonia crystals, sulfur and a mixture of these two
compounds.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
If Jupiter had become 80 times more massive, nuclear fusion
would have occurred in its core. Had that happened, it would
have become a star instead of a planet.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
Jupiter does not experience seasons like other planets such as
Earth and Mars. This is because the axis is only tilted by 3.13
degrees.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoSaturn">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Saturn <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
In Roman mythology Saturn was the father of Jupiter, king of the
gods. This relationship makes sense given that the planets
Saturn and Jupiter are similar in so many respects, including
size and composition. The Greek counterpart is known as Cronus.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Saturn gives off more energy than it receives from the Sun. This
unusual quality is believed to be generated from the
gravitational compression of the planet combined with the
friction from large amount of helium found within its
atmosphere.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
Saturn has the fastest winds of any other planet in our solar
system. These winds have been measured at approximately 1,800 km
per hour
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
Saturn is the flattest of the eight planets. With a polar
diameter that is 90% of its equatorial diameter, Saturn is the
flattest of all the planets.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoUranus">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Uranus <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
Uranus rotates on its axis once every 17 hours and 14 minutes.
Like Venus, it turns in a retrograde direction which is opposite
to the direction Earth and the other six planets turn.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
A collision may have caused the unusual tilt of Uranus. The
theory is that an Earth-sized planet may have collided with
Uranus which forced its axis to drastically shift.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
The mass of Uranus is about 14.5 times the mass of Earth, making
it the lightest of the four gas giants of the outer solar
system.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
The Voyager 2 is the only spacecraft to have flown by Uranus.
This happened in 1986 and it flew past the planet at a distance
of around 81,500 km. This mission returned the very first
close-up images of the planet, its ring system and its orbiting
moons.
</p>
</div>
</div>
<div class="solar-side-info hidden" id="sideInfoNeptune">
<div class="solar-header-container">
<div class="close-button" onclick="closeSidePanel()">
<i class="fa-solid fa-xmark"></i>
</div>
<h3>Neptune <span class="text-yellow">Facts</span></h3>
</div>
<div class="side-points">
<div class="fact-count">1</div>
<p>
Neptune also has a second storm called the Small Dark Spot. This
storm is around the same size as Earth’s moon.
</p>
</div>
<div class="side-points">
<div class="fact-count">2</div>
<p>
Neptune spins very quickly on its axis. The planets equatorial
clouds take 18 hours to complete one rotation. The reason this
happens is that Neptune does not have a solid body.
</p>
</div>
<div class="side-points">
<div class="fact-count">3</div>
<p>
Like the other outer planets, Neptune possesses a ring system,
though its rings are very faint. They are most likely made up of
ice particles and grains of dust with a carbon-based substance
coating them.
</p>
</div>
<div class="side-points">
<div class="fact-count">4</div>
<p>
The climate on Neptune is extremely active. In its upper
atmosphere, large storms sweep across it and high-speed solar
winds track around the planet at up to 1,340 km per second. The
largest storm was the Great Dark Spot in 1989 which lasted for
around five years.
</p>
</div>
</div>
</div>
<figure class="solar-sun" onclick="openSidePanel('sideInfoSun')">
<img src="images/sun.png" alt="image of sun" />
</figure>
<figure class="solar-mercury" onclick="openSidePanel('sideInfoMercury')">
<img src="images/mercury.png" alt="mercury is the first planet" />
</figure>
<figure class="solar-venus" onclick="openSidePanel('sideInfoVenus')">
<img src="images/venus.png" alt="venus is the second planet" />
</figure>
<figure class="solar-earth" onclick="openSidePanel('sideInfoEarth')">
<img src="images/earth.png" alt="earth is the third planet" />
</figure>
<figure class="solar-mars" onclick="openSidePanel('sideInfoMars')">
<img src="images/mars.png" alt="mars is the fourth planet" />
</figure>
<figure class="solar-jupiter" onclick="openSidePanel('sideInfoJupiter')">
<img src="images/jupiter.png" alt="jupiter is the fifth planet" />
</figure>
<figure class="solar-saturn" onclick="openSidePanel('sideInfoSaturn')">
<img src="images/saturn.png" alt="saturn is the sixth planet" />
</figure>
<figure class="solar-uranus" onclick="openSidePanel('sideInfoUranus')">
<img src="images/uranus.png" alt="uranus is the seventh planet" />
</figure>
<figure class="solar-neptune" onclick="openSidePanel('sideInfoNeptune')">
<img src="images/neptune.png" alt="neptune is the eighth planet" />
</figure>
</div>
</section>
<!-- Facts -->
<section class="planet-info" id="planetData" onclick="resetDropdown()">
<div class="hidden" id="neptune-info">
<div class="planet-info-grid">
<div class="fact-image">
<img src="/images/neptune1.jpg" />
</div>
<div class="facts" id="fact2">
<div class="fact-count">1</div>
<h4>GASSY</h4>
<p>
Neptune's atmosphere is made up mostly of molecular hydrogen,
atomic helium and methane.
</p>
</div>
<div class="facts">
<div class="fact-count">2</div>
<h4>ONE VOYAGE THERE</h4>
<p>
Voyager 2 is the only spacecraft to have visited Neptune. No
spacecraft has orbited this distant planet to study it at length
and up close.
</p>
</div>
<div class="fact-image">
<img src="/images/neptune2.png" />
</div>
<div class="fact-image">
<img src="/images/neptune3.jpg" />
</div>
<div class="facts">
<div class="fact-count">3</div>
<h4>FAINT RINGS</h4>
<p>
Neptune has at least five main rings and four more ring arcs,
which are clumps of dust and debris likely formed by the gravity
of a nearby moon.
</p>
</div>
<div class="facts">
<div class="fact-count">4</div>
<h4>ONE COOL FACT</h4>
<p>
Because of dwarf planet Pluto’s elliptical orbit, Pluto is
sometimes closer to the Sun (and us) than Neptune is.
</p>
</div>
<div class="fact-image">
<img src="/images/neptune4.jpg" />
</div>
</div>
</div>
<div class="hidden" id="uranus-info">
<div class="planet-info-grid">
<div class="fact-image">
<img src="/images/uranus1.png" />
</div>
<div class="facts" id="fact2">
<div class="fact-count">1</div>
<h4>GASSY</h4>
<p>
Uranus has an atmosphere made mostly of molecular hydrogen and
atomic helium, with a small amount of methane.
</p>
</div>
<div class="facts">
<div class="fact-count">2</div>
<h4>A BIT LONELY</h4>
<p>
Voyager 2 is the only spacecraft to fly by Uranus. No spacecraft
has orbited this distant planet to study it at length and up
close.
</p>
</div>
<div class="fact-image">
<img src="/images/uranus4.jpg" />
</div>
<div class="fact-image">
<img src="/images/uranus2.png" />
</div>
<div class="facts">
<div class="fact-count">3</div>
<h4>SHORT-ISH DAY, LONGISH YEAR</h4>
<p>
Uranus takes about 17 hours to rotate once (a Uranian day), and
about 84 Earth years to complete an orbit of the Sun (a Uranian
year).
</p>
</div>
<div class="facts">
<div class="fact-count">4</div>
<h4>ONE COOL FACT</h4>
<p>
Like Venus, Uranus rotates east to west. But Uranus is unique in
that it rotates on its side.
</p>
</div>
<div class="fact-image">
<img src="/images/uranus3.png" />
</div>
</div>
</div>
<div class="hidden" id="saturn-info">
<div class="planet-info-grid">
<div class="fact-image">
<img src="/images/saturn4.jpg" />
</div>
<div class="facts" id="fact2">
<div class="fact-count">1</div>
<h4>HOT AIR</h4>
<p>
Saturn's atmosphere is made up mostly of hydrogen (H2) and helium
(He).
</p>
</div>
<div class="facts">
<div class="fact-count">2</div>
<h4>RARE DESTINATION</h4>
<p>
Few missions have visited Saturn: Pioneer 11 and Voyagers 1 and 2
flew by; But Cassini orbited Saturn 294 times from 2004 to 2017.
</p>
</div>
<div class="fact-image">
<img src="/images/saturn2.jpg" />
</div>
<div class="fact-image">
<img src="/images/saturn1.png" />
</div>
<div class="facts">
<div class="fact-count">3</div>
<h4>SHORT DAY, LONG YEAR</h4>
<p>
Saturn takes about 10.7 hours (no one knows precisely) to rotate
on its axis once—a Saturn “day”—and 29 Earth years to orbit the
sun.
</p>
</div>
<div class="facts">
<div class="fact-count">4</div>
<h4>ADD A DASH OF EARTH</h4>
<p>
About two tons of Saturn’s mass came from Earth—the Cassini
spacecraft was intentionally vaporized in Saturn’s atmosphere in
2017.
</p>
</div>
<div class="fact-image">
<img src="/images/saturn3.jpg" />
</div>
</div>
</div>
<div class="hidden" id="jupiter-info">
<div class="planet-info-grid">
<div class="fact-image">
<img src="/images/jupiter1.jpg" />
</div>
<div class="facts" id="fact2">
<div class="fact-count">1</div>
<h4>SUPER STORM</h4>
<p>
Jupiter's Great Red Spot is a gigantic storm that’s about twice
the size of Earth and has raged for over a century.
</p>
</div>
<div class="facts">
<div class="fact-count">2</div>
<h4>MASSIVE WORLD, LIGHT ELEMENTS</h4>
<p>
Jupiter's atmosphere is made up mostly of hydrogen (H2) and helium
(He).
</p>
</div>
<div class="fact-image">
<img src="/images/jupiter2.jpg" />
</div>
<div class="fact-image">
<img src="/images/jupiter3.jpg" />
</div>
<div class="facts">
<div class="fact-count">3</div>
<h4>WHAT'S INSIDE</h4>
<p>
Jupiter is a gas giant and so lacks an Earth-like surface. If it
has a solid inner core at all, it’s likely only about the size of
Earth.
</p>
</div>
<div class="facts">
<div class="fact-count">4</div>
<h4>EXPLORING JUPITER</h4>
<p>
Nine spacecraft have visited Jupiter. Seven flew by and two have
orbited the gas giant. Juno, the most recent, arrived at Jupiter
in 2016.
</p>
</div>
<div class="fact-image">
<img src="/images/jupiter4.jpg" />
</div>
</div>
</div>
<div class="hidden" id="mars-info">
<div class="planet-info-grid">
<div class="fact-image">
<img src="/images/mars1.png" />
</div>
<div class="facts" id="fact2">
<div class="fact-count">1</div>
<h4>RUGGED TERRAIN</h4>
<p>
Mars is a rocky planet. Its solid surface has been altered by
volcanoes, impacts, winds, crustal movement and chemical
reactions.
</p>
</div>
<div class="facts">
<div class="fact-count">2</div>