-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (29 loc) · 1.1 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
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors!</title>
<link rel="stylesheet" href="rock-paper-scissors.css">
<link rel="shortcut icon" type="x-icon" href="rps.png">
</head>
<body>
<p class="title">Rock Paper Scissors!</p>
<button class="move-button js-rock-button"><img src="rock-emoji.png" class="move-icon"></button>
<button class="move-button js-paper-button"><img src="paper-emoji.png" class="move-icon"></button>
<button class="move-button js-scissors-button"><img src="scissors-emoji.png" class="move-icon"></button>
<p class="js-result result del-result"></p>
<p class="js-moves del-moves moves"></p>
<p class="js-score score"></p>
<button class="reset-score"onclick="
score.wins = 0;
score.ties = 0;
score.losses = 0;
localStorage.removeItem('score')
updateScoreElement();
clearScreen();
">Reset Score</button>
<button class="auto-play-button" onclick="
autoPlay();
">Auto Play</button>
<script src="rock-paper-scissors.js"></script>
</body>
</html>