-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (130 loc) · 4.96 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
<!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">
<!-- jQuery -->
<script defer src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Bootstrap js -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"></script>
<!-- my js file -->
<script defer src="./js/app.js"></script>
<!-- bootstrap css -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!-- my css file -->
<link rel="stylesheet" href="./css/style.css">
<title>Mars Weather</title>
</head>
<body>
<div>
<header>
<h1>Mars Weather</h1>
</header>
<main id="main">
<div>
<h3 id="line1">Curiosity Rover Historical Weather Readings</h3>
<h3 id="line2">Utilizing the MAAS2 REST API</h3>
</div>
</main>
</div>
<!-- carousel -->
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="false">
<div class="carousel-inner">
<div id="tableForm" class="carousel-item">
<!-- form & table in carousel -->
<form>
<div>
<h3>Select a date:</h3>
<input type="date" id="start" name="trip-start" value="2012-08-06" min="2012-08-06" required>
<input id="submitBut" type="submit">
</div>
</form>
<!-- end data entry -->
<div id="table">
<table>
<thead>
<tr>
<th colspan="2" id="tableHeader">Weather Conditions for sol <span
id="solNum"> </span></th>
</tr>
</thead>
<tbody>
<tr>
<td class="rowLabel">Earth Date</td>
<td class="rowVal" id="earthDt"></td>
</tr>
<tr>
<td class="rowLabel">Min - Temp</td>
<td class="rowVal" id="minTemp">
</td>
</tr>
<td class="rowLabel">Max - Temp</td>
<td class="rowVal" id="maxTemp"></td>
</tr>
<td class="rowLabel">Sunrise</td>
<td class="rowVal" id="sunrise"></td>
</tr>
<td class="rowLabel">Sunset</td>
<td class="rowVal" id="sunset"></td>
</tr>
<tr>
<td class="rowLabel">Atm - Condition</td>
<td class="rowVal" id="atmCond"></td>
</tr>
<tr>
<td class="rowLabel">Season</td>
<td class="rowVal" id="season"></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- end table -->
<div class="carousel-item">
<div id="carRover" class="embed-responsive">
<!-- Rover GIF animations -->
<iframe class="embed-responsive-item borderImgs" scrolling="no" src="./imgs/WeatherSystemOnRover.gif"
width="600" height="300">
</iframe>
</div>
</div>
<div class="carousel-item">
<div id="weatherChart" class="embed-responsive">
<!-- weather chart -->
<iframe class="embed-responsive-item borderImgs" src="https://mars.nasa.gov/layout/embed/image/mslweather/"
width="600" height="515" scrolling='no'>
</iframe>
</div>
</div>
<div class="carousel-item">
<div id="seasonChart" class="embed-responsive">
<!-- season temperature chart -->
<img class="borderImgs" src='./imgs/Mars_Weather_Chart.jpg' width='600' height='515' scrolling='no'>
</div>
</div>
<div id="carouselBut">
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- if JavaScript is disabled, notify user with modal -->
<noscript>
<div id="noJavaScript">
<img id="noJavaScript" src="./imgs/Curiosity-rover-js-error.jpg" alt="JavaScript disabled">
</div>
</noscript>
</body>
</html>