-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (38 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="background">
<div class="shape"></div>
<div class="shape"></div>
</div>
<div class="form">
<main>
<p class="title">Rock Paper Scissors</p>
<button class="move-button" onclick="
playGame('rock');
"><img src="rock.png" alt="image of rock" class="move-icon"></button>
<button class="move-button" onclick="
playGame('paper');
"><img src="paper.png" alt="image of paper" class="move-icon"></button>
<button class="move-button" onclick="
playGame('scissors');
"><img src="scissors.png" alt="image of scissors" class="move-icon"></button>
<div class="js-cont">
<p class="js-result result"></p>
<p class="js-moves"></p>
<p class="js-score score"></p>
</div>
<button onclick="
reset()
" class="reset-score-button">Reset Score</button>
<script src="rock-paper-scissors.js"></script>
</div>
</section>
</main>
</div>
</body>
</html>