-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (37 loc) · 1.17 KB
/
index.html
File metadata and controls
41 lines (37 loc) · 1.17 KB
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.0" />
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="favicon.jpg" />
<script defer src="app.js"></script>
</head>
<body>
<div class="game-container">
<h1>Rock | Paper | Scissors</h1>
<div class="scoreboard">
<div class="score">
<h2>Player</h2>
<p id="player-score">0</p>
</div>
<div class="score">
<h2>Computer</h2>
<p id="computer-score">0</p>
</div>
</div>
<div class="choices">
<button id="rock" class="choice">🪨 Rock</button>
<button id="paper" class="choice">📃 Paper</button>
<button id="scissors" class="choice">✂️ Scissors</button>
</div>
<div class="result">
<p id="player-choice">Player choice: -</p>
<p id="computer-choice">Computer choice: -</p>
<p id="result-message">Make your move!</p>
</div>
<button id="reset-btn" class="reset-btn">Reset Game</button>
</div>
</body>
</html>