forked from NatePrograms/JSFighter-Class-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (33 loc) · 1.28 KB
/
Copy pathindex.html
File metadata and controls
37 lines (33 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<!-- The HTML 'HEAD' object loads extra data that we won't see on the page -->
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style/layout.css">
<link rel="stylesheet" href="style/style.css">
<script type="text/javascript" src="script/index.js"></script>
<title>JS Fighter</title>
</head>
<!-- The HTML 'BODY' object loads the data we do see on the page -->
<body onload="startup();">
<!-- All game content is kept in a 'gameBox' container -->
<div id="gameBox">
<!-- The header box is static, so we can populate it now -->
<div id="headerBox">
<img class="logos" src="img/logo.png" alt="">
<h1>JSFighter</h1>
<img class="logos" src="img/logo_flipped.png" alt="">
</div>
<!-- The graphics box starts empty. It's populated with JS later -->
<div id="graphicsBox"></div>
<!-- Bars box is filled later, too -->
<div id="barsBox"></div>
<!-- Control will change depending on game state, as well -->
<div id="controlsBox"> </div>
<!-- This is where all the game text is output to, like a console -->
<div id="outputBox">
Click a button to begin!
</div>
</div>
</body>
</html>