-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
42 lines (38 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="Play the classic Rock Paper Scissors game with this simple JavaScript application, perfect for a quick fun challenge." />
<meta name="keywords"
content="rock paper scissors, JavaScript game, classic game, simple game project, fun challenge" />
<meta property="og:title" content="Rock Paper Scissors" />
<meta property="og:description"
content="Play the classic Rock Paper Scissors game with this simple JavaScript application, perfect for a quick fun challenge." />
<meta property="og:image" content="https://coderespite.com/image/js-projects/rock-paper-scissors.png" />
<meta property="og:url" content="https://coderespite.com/projects/js-projects/rock-paper-scissors" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Rock Paper Scissors" />
<meta name="twitter:description"
content="Play the classic Rock Paper Scissors game with this simple JavaScript application, perfect for a quick fun challenge." />
<meta name="twitter:image" content="https://coderespite.com/image/js-projects/rock-paper-scissors.png" />
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rock-paper-scissors</title>
</head>
<body>
<main class="container">
<h1>Rock Paper Scissors Game</h1>
<h2>Choose your move:</h2>
<div class="button">
<button id="rock">🪨</button>
<button id="paper">📄</button>
<button id="scissor">✄</button>
</div>
<h2 id="resultText"></h2>
<h2 id="finalResult"> Your score: <span id="userScore">0</span> Computer score: <span
id="computerScore">0</span> </h2>
</main>
<script src="script.js"></script>
</body>
</html>