-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (31 loc) · 1.24 KB
/
index.html
File metadata and controls
43 lines (31 loc) · 1.24 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
<html>
<link rel="stylesheet" href="styles.css">
<link href='https://fonts.googleapis.com/css?family=Raleway|Aleo|Pixelify Sans' rel='stylesheet' >
<body>
<div class="title">
Rock, Paper, Scissors
</div>
<div class="playArea">
<div class="Labels" id="playerLabel">
PLAYER
<img id="playerChoice">
</div>
<div class="Labels" id="cpuLabel">
CPU
<img id="cpuChoice">
</div>
<div id="resultCard">
<div class="Labels" id="resultLabel"></div>
<div class="Labels" id="scoreBoard">0 - 0</div>
<button class="optionsButton" id="playAgain" onclick='playAgain()'>Play Again!</button>
</div>
<div class="optionsTable">
<button class="optionsButton" id="ROCK" onClick='playGame(ROCK)'>Rock</button>
<button class="optionsButton" id="PAPER" onClick='playGame(PAPER)'>Paper</button>
<button class="optionsButton" id="SCISSORS" onClick='playGame(SCISSORS)'>Scissors</button>
</div>
</div>
<script src = "function.js"></script>
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.1/dist/confetti.browser.min.js"></script>
</body>
</html>