-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (58 loc) · 2.23 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
49
50
51
52
53
54
55
56
57
58
<!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>
</head>
<body>
<section id="page-wrapper">
<h1>Rock Paper Scissors</h1>
<p>First to 5 points wins</p>
<div class="round">
<h3>Round:</h3>
<p class="round-number">1</p>
</div>
<div id="game-wrapper">
<div class="player-container">
<div class="user-container">
<h2>Human</h2>
<div class="score">
<h3>Score:</h3>
<p class="user-score">0</p>
</div>
</div>
<div class="user-buttons">
<button class="rock" data-selection="rock">Rock</button>
<button class="paper" data-selection="paper">
Paper
</button>
<button class="scissors" data-selection="scissors">
Scissors
</button>
</div>
</div>
<div class="player-container">
<div class="user-container">
<h2>Computer</h2>
<div class="score">
<h3>Score:</h3>
<p class="computer-score">0</p>
</div>
</div>
<div class="user-buttons">
<button class="computer-rock">Rock</button>
<button class="computer-paper">Paper</button>
<button class="computer-scissors">Scissors</button>
</div>
</div>
</div>
<div class="result-content">
<h2 class="result"></h2>
</div>
</section>
</body>
</html>