-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (50 loc) · 1.46 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 name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Game Rock Paper Scissors</title>
</head>
<body>
<div class="playingSpace">
<div class="player">
<h1>player</h1>
<div class="img">
<img id="playerSpace">
</div>
</div>
<h1 class="vs">VS</h1>
<div class="computer">
<h1>computer</h1>
<div class="img">
<img id="computerSpace">
</div>
</div>
</div>
<div class="choices">
<div class="rock" data-choice="rock">
<img src="images/rock.png" alt="rock">
</div>
<div class="paper" data-choice="paper">
<img src="images/paper.png" alt="paper">
</div>
<div class="scissors" data-choice="scissors">
<img src="images/scissors.png" alt="scissors">
</div>
</div>
<div class="result">
<h1 id="displayResult"></h1>
</div>
<div class="score">
<div class="displayScore">
<p>Player Score : <span id="playerScore">0</span></p>
<p>computer Score : <span id="computerScore">0</span></p>
</div>
</div>
<div class="restartThegame">
<div id="restart">restart</div>
</div>
<script src="js/master.js"></script>
</body>
</html>