-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (45 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles/style.css">
<title>Rock Paper Scissors</title>
</head>
<body>
<script defer src="./scripts/script.js"></script>
<audio src="./audio/win.mp3" id="win"></audio>
<audio src="./audio/draw.mp4" id="draw"></audio>
<audio src="./audio/lose.mp3" id="lose"></audio>
<h1 class="title">Rock Paper Scissors</h1>
<div class="main">
<div class="game-section">
<div class="items-container">
<button class="item rock">
<img src="./resources/rock.svg" alt="">
<h2>ROCK</h2>
</button>
<button class="item paper">
<img src="./resources/paper.svg" alt="">
<h2>PAPER</h2>
</button>
<button class="item scissors">
<img src="./resources/scissors.svg" alt="">
<h2>SCISSORS</h2>
</button>
</div>
<div class="round-status-container">
<h1 class="round-status">Choose the item above</h1>
<h2 class="computer-choice"></h2>
</div>
</div>
<div class="display-results-container">
<h1 class="score">SCORE</h1>
<h2 class="user-score"></h2>
<h2 class="computer-score"></h2>
<h2 class="draw-score"></h2>
<h2 class="total-score"></h2>
</div>
</div>
</body>
</html>