-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (57 loc) · 1.79 KB
/
index.html
File metadata and controls
58 lines (57 loc) · 1.79 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles.css" />
<script src="./rockPaperScissors.js" defer></script>
<script
src="https://cdn.jsdelivr.net/npm/party-js@latest/bundle/party.min.js"
defer
></script>
<!-- <script src="./practiceExercises.js" defer></script> -->
<title>Rock-Paper-Scissors Game</title>
</head>
<body>
<main>
<section class="left">
<p>r <img src="./assets/rock.svg" alt="rock" /> ck</p>
<p>p <img src="./assets/paper.svg" alt="paper" /> per</p>
<p>sc <img src="./assets/scissors.svg" alt="scissors" /> ssors</p>
</section>
<section class="right">
<div class="scoreboard">
<div class="person">
<img src="./assets/person.svg" alt="person" />
<p class="player-count">0</p>
</div>
<div class="computer">
<img src="./assets/ai.svg" alt="computer" />
<p class="computer-count">0</p>
</div>
</div>
<section class="information"></section>
<section class="actionButtons">
<button type="button" class="select-btn" id="rock">rock</button>
<button type="button" class="select-btn" id="paper">paper</button>
<button type="button" class="select-btn" id="scissors">scissors</button>
</section>
<section class="result hide">
<div>
<p class="winner"></p>
<button class="celebrate" onmousedown="party.confetti(this)">
celebrate
</button>
</div>
<button type="button" class="restart">Restart</button>
</section>
</section>
<!-- <section class="display">
<div class="computer-display">
<h3>Computer</h3>
</div>
</section> -->
</main>
</body>
</html>