-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.58 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
<!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>Rock Paper Scissors</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dongle:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div id="choices">
<div class="choice">
<img src="images/rock.svg" alt="rock">
<button id="rock">Rock</button>
</div>
<div class="choice">
<img src="images/paper.svg" alt="Paper">
<button id="paper">Paper</button>
</div>
<div class="choice">
<img src="images/scissors.svg" alt="scissors">
<button id="scissors">Scissors</button>
</div>
</div>
<div id="scoreboard">
<p id="score">
Player <span id="player-score">0</span> -
<span id="computer-score">0</span> Computer
</p>
</div>
<div id="round-outcome">
</div>
<div id="end-game">
<p id="end-game-text">Finish the game first you prick!</p>
<button id="restart">Play Again</button>
</div>
</div>
</body>
</html>