-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
40 lines (39 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="./css/styles.css" />
<link rel="shortcut icon" href="#">
</head>
<body>
<div id="main">
<div class="header">
<h1 class="headerTitle">Rock Paper Scissors</h1>
</div>
<div id="gameLogDom">Click to play, first to 5 wins!</div>
<div id="imageSection">
<ul>
<li><input type="image" src="./images/rock.png" name="Rock" class="rockBtn" id="rockSelection" value="ROCK" /></li>
<li><input type="image" src="./images/paper.png" name="Paper" class="paperBtn" id="paperSelection" value="PAPER" /></li>
<li><input type="image" src="./images/scissors.png" name="Scissors" class="scissorsBtn" id="scissorsSelection" value="SCISSORS" /></li>
</ul>
</div>
<div class="scoreSection">
<div class="userSection">
<h3>You: </h3>
<h3 id="userScore">0</h3>
</div>
<div class="computerSection">
<h3>Computer: </h3>
<h3 id="computerScore">0</h3>
</div>
</div>
<div class="footer">
<h3 class="thanks">Thank you for playing</h3>
</div>
</div>
<script src="./js/scripts.js"></script>
</body>
</html>