Skip to content

Commit a877de1

Browse files
authored
Create index.html
1 parent 716f410 commit a877de1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Rock Paper Scissors</title>
7+
<link rel="stylesheet" href="game.css">
8+
</head>
9+
<body>
10+
<h1>Rock Paper Scissors</h1>
11+
<div id="choices">
12+
<button onclick="play('rock')">🪨 Rock</button>
13+
<button onclick="play('paper')">📄 Paper</button>
14+
<button onclick="play('scissors')">✂️ Scissors</button>
15+
</div>
16+
<div id="result"></div>
17+
<div id="score">You: 0 | Computer: 0</div>
18+
<script src="script.js"></script>
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)