-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 1.12 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
<!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="icon" type="image/png" href="logo.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<img src="rock.png" alt="Rock" class="choice" id="Rock">
<img src="paper.png" alt="Paper" class="choice" id="Paper">
<img src="scissor.png" alt="Scissor" class="choice" id="Scissor">
</div>
<div class="msg-container">
<button id="game-status">Play</button>
<div id="winning-info"></div>
</div>
<div class="score-container">
<div class="winning-container">
<div id="user-score"></div>
<div class="player-name">You</div>
</div>
<div class="winning-container">
<div id="comp-score"></div>
<div class="player-name">Computer</div>
</div>
</div>
<div class="clear">
<button id="clear-History">Clear History</button>
</div>
<script src="script.js"></script>
</body>
</html>