-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
29 lines (28 loc) · 1.15 KB
/
index3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>End of game</title>
<link rel= "stylesheet" href="style.css">
</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 Name to Save 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="index2.html" class="btn">Play Again</a>
<a href="index.html" class="btn">Home</a>
</div>
</div>
<script defer src="script2.js"></script>
</body>
</html>
<!-- The end of the game screen after you get through all the questions. Has an input to enter your name to record the score. -->
<!-- Styled by style.css, records the score using script2.js -->