-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRPS.html
More file actions
28 lines (26 loc) · 837 Bytes
/
RPS.html
File metadata and controls
28 lines (26 loc) · 837 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=
, initial-scale=1.0">
<link rel="stylesheet" href="RPS.css">
<title>Document</title>
</head>
<body>
<div class="choice">
<!--Game choice buttons-->
<h2 class="Cc">Computer choice: <span id="computer-choice"></span></h2>
<h2 class="Cc">User choice: <span id="user-choice"></span></h2>
<h2 class="Cc">Result: <span id="result"></span></h2>
</div>
<!--game play buttons-->
<div class="button">
<button class="Br" id="rock">Rock</button>
<button class="Br" id="paper">Paper</button>
<button class="Br" id="scissors">Scissors</button>
</div>
<script src="RPS.js" charset="utf-8"></script>
</body>
</html>