-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (47 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Space Invaders</title>
<script type="text/javascript" src="scripts/app.js"></script>
<link rel="stylesheet" href="styles/style.css">
<link href="https://fonts.googleapis.com/css?family=Orbitron&display=swap" rel="stylesheet">
</head>
<body>
<header>
General Assembly brings you....
</header>
<main>
<div class="flex-container">
<!--https://www.w3schools.com/howto/howto_css_two_columns.asp -->
<div class="other-screen">
<div class="scoreboard">
<div class="lives">
<h3>You have <br/><span id="player-lives">3</span><br/>lives left</h3>
</div>
<div class="points">
<h3>Score <br/><span id="score">0</span></h3>
</div>
</div>
<div class="instructions">
<h3>How to...</h3>
<p>You don't really need me to tell you how to play space invaders do you?! <br />
Controls are simple - the arrow keys will move you left or right, 's' will shoot... that's pretty much all you need to know!</p>
</div>
<div class="">
<button type="button" name="button" id="startBtn">Start</button>
<button type="button" name="button" id="resetBtn">Reset</button>
<button type="button" name="button" id="pauseBtn">Stop</button>
</div>
</div>
<div class="play-screen">
<div class="grid">
</div>
</div>
</div>
</main>
<footer>
Footer info
</footer>
</body>
</html>