-
Notifications
You must be signed in to change notification settings - Fork 1
/
end.html
28 lines (27 loc) · 1.1 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
<!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="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css"
crossorigin="anonymous">
</head>
<body>
<div class="container">
<div id="end" class="flex-center flex-column">
<h1 id="finalScore">0</h1>
<form class="end-form-container">
<h2 id="end-text">Enter your name below to save your score.</h2>
<input type="text" name="name" id="username" placeholder="Enter your name">
<button class="btn" id="saveScoreBtn" type="submit"
onclick="saveHighScore(event)" disabled>Save</button>
</form>
<a href="/game.html" class="btn">Play Again</a>
<a href="/" class="btn">Go Home<i class="fas fa-home"></i></a>
</div>
</div>
<script src="end.js"></script>
</body>
</html>