-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFinal-RPS.html
More file actions
50 lines (31 loc) · 979 Bytes
/
Copy pathFinal-RPS.html
File metadata and controls
50 lines (31 loc) · 979 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
<!-- 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/Final-RPS.css">
</head>
<body>
<p class="title">Rock Paper Scissors</p>
<button class="moves" onclick="
PlayGame('Rock');
"><img src="./RPS images/rock-emoji.png"></button>
<button class="moves" onclick="
PlayGame('Paper');
"><img src="./RPS images/paper-emoji.png"></button>
<button class="moves" onclick="
PlayGame('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="reset-btn" onclick="
resetScore('reset');
">
Reset Score
</button>
<script src="./scripts/Final-RPS.js"></script>
</body>
</html>