-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstep4.html
More file actions
41 lines (33 loc) · 931 Bytes
/
step4.html
File metadata and controls
41 lines (33 loc) · 931 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Step 4 - Add scoring and game over screen</title>
<link rel="stylesheet" type="text/css" href="css/step4.css">
</head>
<body>
<main>
<div class="score">0</div>
<section class="play">
<h2 class="flag">🏳️</h2>
<div class="suggestions">
<button>One</button>
<button>Two</button>
<button>Three</button>
<button>Four</button>
<button>Five</button>
</div>
</section>
<section class="gameover hide">
<h2>Game Over</h2>
<p>You scored:
<span class="result">
</span>
</p>
<button class="replay">Play again</button>
</section>
</main>
<script type="module" src="js/step4.js"></script>
</body>
</html>