-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (42 loc) · 1.04 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
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header>
<h1>Rock Paper Scissors</h1>
<div class="score">
<p>Player: <span id="player-score">0</span></p>
<p>Computer: <span id="computer-score">0</span></p>
</div>
</header>
<main>
<div class="selection">
<button id="rock"><img src="images/rock.jpg"></button>
<button id="paper"><img src="images/paper.jpg"></button>
<button id="scissors"><img src="images/scissors.jpg"></button>
</div>
<div class="boxen">
<div class="gamebox">
<div class="player">
<h2 class="write">Player</h2>
<img id="player-choice" src="images/rock.jpg">
</div>
<div class="computer">
<h2 class="write">Computer</h2>
<img id="computer-choice" src="images/rock.jpg">
</div>
</div>
<div class="result">
<div>
<p id="round-result"></p>
</div>
<button id="play-again">Play Again</button>
</div>
</div>
</main>
<script src="script.js"></script>
</body>
</html>