-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>StonePaperScissor</title>
<link rel="stylesheet" href="STP.css">
</head>
<body>
<header><h1>Stone Paper Scissors</h1></header>
<div class="score-board">
<div id="user-label" class="badge">user</div>
<div id="comp-label" class="badge">comp</div>
<span id="user-score">0</span>:<span id="comp-score">0</span>
</div>
<div class="result">
<p>Paper covers stone. You win!</p>
</div>
<div class="choices">
<div class="choice" id="r">
<img src="hand-rock.png" alt="STONE">
</div>
<div class="choice" id="p">
<img src="hand.png" alt="PAPER">
</div>
<div class="choice" id="s">
<img src="hand-scissors.png" alt="SCISSOR">
</div>
</div>
<p id="action-message">Make Your Move</p>
<script src="STP.js"></script>
</body>
</html>