-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (69 loc) · 3.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>The Solar System</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script src="script.js" defer></script>
<img class="background-image" src="NightSky.jpeg" draggable="false">
<div class="header-container">
<h1 class="main-heading">Pocket Solar System</h1>
<h2 class="credits">By <a href="https://github.com/FlashLeap" target="01Blank">Mrunank Bathe</a></h2>
</div>
<div class="star sun"></div>
<div class="mercury planet"></div>
<div class="venus planet"></div>
<div class="earth planet">
<div class="moon planet"></div>
</div>
<div class="mars planet"></div>
<div class="jupiter planet"></div>
<div class="saturn planet"></div>
<div class="uranus planet"></div>
<div class="neptune planet"></div>
<ul id="orbit-container" class="hiding">
<li class="mercury-orbit orbit-path"></li>
<li class="venus-orbit orbit-path"></li>
<li class="earth-orbit orbit-path"></li>
<li class="mars-orbit orbit-path"></li>
<li class="jupiter-orbit orbit-path"></li>
<li class="saturn-orbit orbit-path"></li>
<li class="uranus-orbit orbit-path"></li>
<li class="neptune-orbit orbit-path"></li>
</ul>
<div class="options" id="options">
<h1 class="options-title" id="options-title">Options</h1>
<div class="spacing" id="space"></div>
<h2 class="label" title="760320 times quicker than usual">Speed</h2>
<div class="slider-container" id="slider-container">
<input type="range" max="500" min="10" step="1" value="500" id="speed" class="slider" oninput="getInputOfSpeed(this)">
</div>
<br>
<h2 class="label">Show Orbits</h2>
<input type="checkbox" class="checkbox" id="checkbox" onclick="saveCheckState()">
<br>
<button class="options-button" id="options-button" onclick="setupSpeedsOfPlanets(380160000)">Default to realtime</button>
<br>
<button class="options-button" id="reset" onclick="resetData()">Reset</button>
</div>
<ul class="info-container" id="info-container">
<button class="info-item" id="button1" onclick="showUserInfo(0)">Mercury</button>
<button class="info-item" id="button2" onclick="showUserInfo(1)">Venus</button>
<button class="info-item" id="button3" onclick="showUserInfo(2)">Earth</button>
<button class="info-item" id="button4" onclick="showUserInfo(3)">Mars</button>
<button class="info-item" id="button5" onclick="showUserInfo(4)">Jupiter</button>
<button class="info-item" id="button6" onclick="showUserInfo(5)">Saturn</button>
<button class="info-item" id="button7" onclick="showUserInfo(6)">Uranus</button>
<button class="info-item" id="button8" onclick="showUserInfo(7)">Neptune</button>
<div class="wrapper">
<div class="wrapper-text-holder">
<h1 id="title-info" class="wrapper-title">Title</h1>
<h2 id="wrapper-text" class="wrapper-text"></h2>
</div>
</div>
</ul>
</body>
</html>