-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (34 loc) · 1.45 KB
/
Copy pathindex.html
File metadata and controls
45 lines (34 loc) · 1.45 KB
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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DOM-Stone-paper-sciccor with css</title>
<link rel="stylesheet" href="SPS.css">
</head>
<style>
</style>
<body>
<h3>Rock Paper Scissor</h3>
<button onclick=" playGame('rock');" class="move-button">
<img src="Images/rock-emoji.png" alt="rock-emoji" class="move-icon">
</button>
<button onclick="
playGame('paper');" class="move-button"><img src="Images/paper-emoji.png" alt="paper-emoji" class="move-icon">
</button>
<button onclick=" playGame('scissors');" class="move-button">
<img src="Images/scissors-emoji.png" alt="scissors-emoji" class="move-icon">
</button>
<p class="js-result result"> </p>
<p class="js-moves "> </p>
<p class="js-score score"> </p>
<button onclick="score.wins=0;
score.losses=0
score.Ties=0;
localStorage.removeItem('score')
UpdateScoreElemet();" class="Reset-score-btn">
Reset Score
</button>
<script src="SPS.js">
</script>
</body>
</html>