forked from LaunchCodeEducation/DOM-and-Events-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (47 loc) · 1.32 KB
/
index.html
File metadata and controls
47 lines (47 loc) · 1.32 KB
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
<!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 class="centered">
<h1>Flight Simulator</h1>
<h2>Current Flight Status</h2>
<p id="flightStatus">Space shuttle ready for takeoff</p>
<h2>Shuttle Trajectory</h2>
</div>
<div id="flightDisplay">
<div class="center-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">
<img
src="LaunchCode_rocketline_white.png"
height="75"
width="75"
id="rocket"
/>
</div>
<div class="center-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 id="spaceShuttleWidth">0</p>
<span> miles</span>
</div>
</div>
<div class="centered">
<button id="takeoff">Take off</button>
<button id="landing">Land</button>
<button id="missionAbort">Abort Mission</button>
</div>
</body>
</html>