-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (67 loc) · 1.8 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rock Paper Scissor</title>
<style>
body {
background-color: rgb(25, 25, 25);
font-family: Arial, Helvetica, sans-serif;
}
h1 {
color: white;
font-weight: bold;
font-size: 30px;
}
.move-icon {
height: 50px;
}
.image-edit {
background: transparent;
border: 3px solid white;
border-radius: 60px;
width: 120px;
height: 120px;
margin-right: 10px;
cursor: pointer;
}
p {
color: white;
}
.resetbutton {
border: 1px solid whitesmoke;
font-size: medium;
padding: 5px;
margin-top: 10px;
background: transparent;
color: white;
cursor: pointer;
}
</style>
</head>
<body>
<h1>Let's play!!</h1>
<button onclick="playermove('Rock')" class="image-edit">
<img src="./Images/rock-emoji.png" alt="Rock" class="move-icon" />
</button>
<button onclick="playermove('Paper')" class="image-edit">
<img src="./Images/paper-emoji.png" alt="Paper" class="move-icon" />
</button>
<button onclick="playermove('Scissor')" class="image-edit">
<img src="./Images/scissors-emoji.png" alt="Scissor" class="move-icon" />
</button>
<p class="fromalert1"></p>
<p class="fromalert2"></p>
<p class="fromalert3"></p>
<button
onclick="score.Wins=0,score.Losses=0,score.Tie=0;updatescore3();
localStorage.removeItem('score')"
class="resetbutton"
>
Reset
</button>
<script src="index.js"></script>
</body>
</html>