-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrockPaperScissor.html
More file actions
39 lines (37 loc) · 1 KB
/
rockPaperScissor.html
File metadata and controls
39 lines (37 loc) · 1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="game.css">
</head>
<body>
<p class="heading">Rock Paper Scissors</p>
<div class="choices">
<div class="choice" id="rock">
<img src="Rock.png">
</div>
<div class="choice" id="paper">
<img src="Paper.png" >
</div>
<div class="choice" id="scissor">
<img src="Scissor.png" >
</div>
</div>
<div class="scoreboard">
<div class="score_box">
<p id="user_score"><b>0</b></p>
<p><b>You</b></p>
</div>
<div class="score_box">
<p id="comp_score"><b>0</b></p>
<p><b>Comp</b></p>
</div>
</div>
<div id="msg">
<p>Play your move</p>
</div>
<script src="game.js"></script>
</body>
</html>