-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (24 loc) · 849 Bytes
/
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
<!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="style.css">
<title>Rock,Paper,Scissors</title>
</head>
<body>
<div class="choises">
<h1>Rock - Paper - Scissor</h1>
<button onclick="playGame('Rock')">👊</button>
<button onclick="playGame('paper')">📃</button>
<button onclick="playGame('scissors')">✂️</button>
</div>
<div id="playerDisplay">PLAYER: </div>
<div id="compDisplay">COMP: </div>
<div id="resultDisplay">ITS A TIE</div>
<div class="Error">
<button type="button" onclick="location.href='https://www.youtube.com/watch?v=2bHT78J08Jw'">If not working click here</button>
</div>
<script src="index.js"></script>
</body>
</html>