-
Notifications
You must be signed in to change notification settings - Fork 0
/
rps.html
29 lines (29 loc) · 873 Bytes
/
rps.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
<!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 Scissors</title>
<link rel="stylesheet" type="text/css" href="./styles.css" />
<script src="./rps.js" defer></script>
</head>
<body>
<div class="head">
<h1>Player-Computer</h1>
<h1 id="score">Score: 0-0</h1>
</div>
<div class="body">
<div class="options">
<button class="gameBtn">Rock</button>
<button class="gameBtn">Paper</button>
<button class="gameBtn">Scissors</button>
</div>
<div class="roundWin">
<h2></h2>
</div>
<div class="reset">
<button id="resetBtn">Restart</button>
</div>
</div>
</body>