This repository was archived by the owner on Mar 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (60 loc) · 2.13 KB
/
Copy pathindex.html
File metadata and controls
60 lines (60 loc) · 2.13 KB
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
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div class="top">
<h1>Rock! Paper! Scissors!</h1>
<h2><em>Player vs Computer</em></h2>
</div>
<div class="midTop">
<p class="head2">Make Your Choice</p>
<h3>First To 5 Wins!</h3>
</div>
<div class="middle">
<div class="left">
<div><p>Player</p></div>
<div>
<ul class="player">
<li><button id="rock" class="btn"><img id="rock" src="./images/pRock.jpg"> </button></li>
<li><button id="paper" class="btn"><img id="paper" src="./images/pPaper.jpg"> </button></li>
<li><button id="scissors" class="btn"><img id="scissors" src="./images/pScissors.jpg"> </button></li>
</ul>
</div>
</div>
<div class="mid">
<div class="upper">
<div class="box"> <img id='pChoice' src=""> </div>
<div><p>VS</p></div>
<div class="box"> <img id="comChoice" src=""> </div>
</div>
<div class="lower">
<p id="Result"></p>
</div>
<div class="endGame">
</div>
</div>
<div class="right">
<div><p>Computer</p></div>
<div>
<ul class="computer">
<li id="cRock"><img id="cRock" src="./images/cRock.jpg"> </li>
<li id="cPaper"><img id="cPaper" src="./images/cPaper.jpg"> </li>
<li id="cScissors"><img id="cScissors" src="images/cScissors.jpg"> </li>
</ul>
</div>
</div>
</div>
<div class="bottom">
<div id="pScore"><p>Player Score: 0</p></div>
<div id="rndsPlayed"><p>Rounds Played: 0</p></div>
<div id="cScore"><p>Computer Score: 0</p></div>
</div>
<script src="java2.0.js"></script>
</body>
</html>