forked from LaunchCodeEducation/DOM-and-Events-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (41 loc) · 1.72 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
<!DOCTYPE html>
<html>
<head>
<title>Flight Simulator</title>
<link rel = "stylesheet" type = "text/css" href = "styles.css" />
<script src = "scripts.js"></script>
</head>
<body>
<div style="text-align: center;">
<h1>Flight Simulator</h1>
<h2>Current Flight Status</h2>
<p id = "flightStatus">Space shuttle ready for takeoff</p>
<h2>Shuttle Trajectory</h2>
</div>
<div style="text-align: center; height: 400px; width: 100%;" >
<div style="text-align: center; display: inline-block;">
<h3>Fuel Levels</h3>
<p>Tank Full</p>
<h3>Astronaut Chat</h3>
<p>Houston, we are ready when you are!</p>
</div>
<div id = "shuttleBackground" style = "position: relative;">
<img src = "LaunchCode_rocketline_white.png" height = "75" width = "75" id = "rocket"/>
</div>
<!-- adding class="scoreContainer" -->
<div class="scoreContainer" style = "text-align: center; display: inline-block;">
<button id="up">Up</button>
<button id="down">Down</button>
<button id="right">Right</button>
<button id="left">Left</button>
<h3>Space Shuttle Height</h3>
<p id="spaceShuttleHeight">0</p><p style = "display: inline-block;"> miles</p>
</div>
</div>
<div style="text-align: center;">
<button id = "takeoff">Take off</button>
<button id = "landing">Land</button>
<button id = "missionAbort">Abort Mission</button>
</div>
</body>
</html>