-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 1.17 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
<!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="shortcut icon" href="#" />
<script src="script.js" defer></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="head-text">
<h1 class="title">A Game of Rock Paper Scissors!</h1>
<p class="sub-title">Click the buttons to play.</p>
</div>
<div class="button-container">
<button id="rock">Rock</button>
<button id="paper">Paper</button>
<button id="scissors">Scissors</button>
</div>
<div id="result-container">
<div class="result-display"><h2>Can You Win?</h2></div>
<div class="round-result"><p></p></div>
</div>
<div class="score-container">
<div class="human-score">
<div class="h-s-text"><h3>Your Score:</h3></div>
<div class="h-s-num">0</div>
</div>
<button id="new-game">New Game</button>
<div class="computer-score">
<div class="c-s-text"><h3>Computer Score:</h3></div>
<div class="c-s-num">0</div>
</div>
</div>
<audio id="click" src="./click.mp3" type="audio/mpeg"></audio>
</body>
</html>