-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (28 loc) · 1.07 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
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,[email protected],400;8..144,700&display=swap" rel="stylesheet">
</head>
<body>
<h1>Rock || Paper || Scissors</h1>
<section class="guess-container">
<div>
<h2>Player</h2><div class="player-guess" id="player-guess"></div>
</div>
<div class="playerScore" id="playerScore"></div>
<div class="computerScore" id="computerScore"></div>
<div>
<h2>Computer</h2><div class="computer-guess" id="computer-guess"></div>
</div>
</section>
<section>
<div class="btn-container">
<button onclick="rock()" id="rock">Rock</button> <button onclick="paper()" id="paper">Paper</button> <button onclick="scissors()" id="scissors">Scissors</button>
</div>
</section>
<script src="index.js"></script>
</body>
</html>