-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.53 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Invaders</title>
<link href="https://fonts.googleapis.com/css?family=Bebas+Neue&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<main class="main-wrapper">
<!-- Battlefield -->
<div class="canvas-wrapper">
<!-- Score & Data -->
<canvas id="aliensCanvas" class="mesCanvas" width="530" height="500"></canvas>
<div id ="mainHeader" class="main-header">
<!-- Logo
<div class="logo">
<img src="logo.jpg" alt="logo">
</div>
-->
<ul>
<li>
<span class="fg-aqua">Player</span>
<span id="score"></span>
</li>
<li>
<span class="fg-navy">Level</span>
<span id="level"></span>
</li>
<li>
<span class="fg-yellow">Invaders left</span>
<span id="alives"></span>
</li>
</ul>
</div>
</div>
<!-- Main Footer -->
<footer class="main-footer">
<img src="joypad.png" alt="joypad">
</footer>
</main>
<script src="scripts.js"></script>
</body>
</html>