-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.66 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
<!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>GAME - Rock, Paper, Scissors</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<body id="body">
<div class="rules">
<a href="https://wrpsa.com/the-official-rules-of-rock-paper-scissors/" target="_blank">How to play</a>
</div>
<div class="main">
<div id="banner">
<img src="img/bannerImg.png" alt="">
<p id="bannerAnounce"> <em>First to win 3 round, wins.</em></p>
<button id="buttonReset">Reset</button>
</div>
<div class="score">
<div class="score-one">
<p class="individualScore">Player</p>
<p id="playerScore">0</p>
</div>
<div class="score-one">
<p class="individualScore">Computer</p>
<p id="cpuScore">0</p>
</div>
</div>
<h3 id="result">Choose a weapon to start the game</h3>
<div class="weapons">
<button id="rock" value="rock">Rock</button>
<button id="paper" value="paper">Paper</button>
<button id="scissors" value="scissors">Scissors</button>
</div>
</div>
<a href="https://github.com/bobby2910" class="footer" target="_blank">BM2023</a>
<script src="script.js" defer></script>
</body>
</html>
</body>
</html>