-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (54 loc) · 1.34 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
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Space Shooter Game</title>
<style>
.textDiv {
position: absolute;
top: 300px;
left: 162px;
display: none;
}
.textDiv label {
color: #fff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: large;
}
.textDiv input {
display: block;
height: 25px;
border-radius: 5px;
}
.scoreDiv {
position: absolute;
top: 100px;
left: 25px;
color: #fff;
font-family: 'monospace', 'Segoe UI', Tahoma, Geneva, Verdana,
sans-serif;
font-size: larger;
}
.leaderboard {
position: absolute;
color: #fff;
top: 290px;
left: 175px;
font-family: 'monospace', 'Segoe UI', Tahoma, Geneva, Verdana,
sans-serif;
font-size: large;
}
</style>
</head>
<body>
<h1>Space Shooter Game</h1>
<div class="textDiv">
<label for="username">Player Name:</label>
<input type="text" name="username" id="utext" />
</div>
<div class="scoreDiv"></div>
<ol class="leaderboard"></ol>
<script src="app.bundle.js"></script>
</body>
</html>