-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathend.html
45 lines (41 loc) · 1.65 KB
/
end.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="shortcut icon" type="image/jpg" href="./images/favicon-32x32.png"/>
<link rel="stylesheet" href="end.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.1/css/all.css"
integrity="sha384-xxzQGERXS00kBmZW/6qxqJPyxW3UR0BPsL4c8ILaIWXva5kFi7TxkIIaMiKtqV1Q" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div id="end" class="flex-center flex-column">
<div class="score">
<div class="over">Game Over</div>
<br>
<h1 id="yourScore">Your Score</h1>
<!-- <br> -->
<h1 id="finalScore">0</h1>
</div>
<div class="form">
<form class="end-form-container">
<br>
<h2 id="end-text">To save your score</h2>
<div class="in">
<input type="text" name="name" id="username" placeholder="Enter your name">
<button class="btn" id="saveScoreBtn" type="submit" onclick="saveHighScore(event)"
disabled>Save</button>
</div>
</form>
</div>
<div class="button">
<a href="/game.html" class="btn"><i class="fas fa-redo"></i> Play Again</a>
<a href="/" class="btn"><i class="fas fa-home"></i> Go Home</a>
</div>
</div>
</div>
<script src="end.js"></script>
</body>
</html>