-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (56 loc) · 2.26 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 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="static/style.css" />
<link href="https://fonts.googleapis.com/css2?family=DynaPuff" rel="stylesheet">
<link rel="icon" type="image/svg" href="static/favicon-32x32.png" />
<script src="RPS.js" defer></script>
<title>Battle of The Century</title>
</head>
<body>
<header>
<div class="scoreboard">
<div class="player">
<div class="name">
<p id="player-name">
<input type="text" id="input" placeholder="Enter Player Name" autocomplete="off" required>
<button id="psubmit">Submit Name</button>
</p>
</div>
<div class="score">
<p id="player-score">Score: 0</p>
</div>
</div>
<div class="title">
<div class="title-banner">
<h1 class="announcement">RPS - The Battle of the Century</h1>
</div>
</div>
<div class="cpu">
<div class="cpu-name">
<p>CPU</p>
</div>
<div class="score">
<p id="cpu-score">Score: 0</p>
</div>
</div>
</div>
</header>
<div class="battle-ground">
<div class="player-ground">
<button class="pbtn" id="paper"><img src="static/paper-pngrepo-com.png"/></button>
<button class="pbtn" id="rock"><img src="static/rock-pngrepo-com.png"/></button>
<button class="pbtn" id="scissors"><img src="static/scissors-pngrepo-com.png"/></button>
</div>
<div class="cpu-ground">
<button class="cpu-btn" id="cpu-scissors"><img src="static/scissors-pngrepo-com.png"/></button>
<button class="cpu-btn" id="cpu-rock"><img src="static/rock-pngrepo-com.png"/></button>
<button class="cpu-btn" id="cpu-paper"><img src="static/paper-pngrepo-com.png"/></button>
</div>
</div>
<footer><p>Created by Caelan Miller</p></footer>
</body>
</html>