-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (37 loc) · 1.02 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
<!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="style.css" />
<script src="index.js" defer></script>
</head>
<body>
<div class="container">
<h1>Rock Paper Scissors</h1>
<div class="choices">
<div class="choice" id="rock">
<img src="./images/rock.png" />
</div>
<div class="choice" id="paper">
<img src="./images/paper.png" />
</div>
<div class="choice" id="scissors">
<img src="./images/scissors.png" />
</div>
</div>
<div class="score-board">
<div class="score">
<p id="user-score">0</p>
<p class="name">You</p>
</div>
<div class="score">
<p id="comp-score">0</p>
<p class="name">Comp</p>
</div>
</div>
<div class="btn">Play your move</div>
</div>
</body>
</html>