-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost-credit-RPS.html
More file actions
55 lines (35 loc) · 1004 Bytes
/
Copy pathpost-credit-RPS.html
File metadata and controls
55 lines (35 loc) · 1004 Bytes
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
<!-- UPDATION: Including Local Storage instead of variables. -->
<!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="./styles/post-credit-RPS.css">
</head>
<body>
<p class="title">Rock Paper Scissors</p>
<button class="moves js-rock">
<img src="./RPS images/rock-emoji.png">
</button>
<button class="moves js-paper">
<img src="./RPS images/paper-emoji.png">
</button>
<button class="moves js-scissor">
<img src="./RPS images/scissor-emoji.png">
</button>
<p class="js-result result"></p>
<p class="js-picks picks"></p>
<p class="js-score score"></p>
<button class="btns" onclick="
resetScore('reset');
">
Reset Score
</button>
<button class="btns" onclick="
autoPlay();
">
Auto Play</button>
<script src="./scripts/post-credit-RPS.js"></script>
</body>
</html>