-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
49 lines (42 loc) · 1.21 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
<!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="stylesheet" href="rps.css">
<link rel="icon" type="image/x-icon" href="./favicon.ico">
</head>
<body>
<h1>Rock Paper Scissors</h1>
<div class="choices">
<div class="choice" id="rock">
<img src="./rock.png" alt="">
</div>
<div class="choice" id="paper">
<img src="./paper.png" alt="">
</div>
<div class="choice" id="scissors">
<img src="./scissors.png" alt="">
</div>
</div>
<div class="msgcontainer">
<p id="msg">Play your move</p>
</div>
<div class="scoreboard">
<div class="score">
<p id="userscore">0</p>
<p>Me</p>
</div>
<div class="score">
<p id="compscore">0</p>
<p>Comp</p>
</div>
</div>
<div class="resetMain">
<button class="resetGame" id="resetbtn">Reset</button>
</div>
<script src="confetti.js"></script>
<script src="rps.js"></script>
</body>
</html>