-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (39 loc) · 964 Bytes
/
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
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Rock Paper Scissors</title>
<link rel='stylesheet' href='styles.css'/>
</head>
<body>
<div class="header">
<h1>Rock Paper Scissors</h1>
</div>
<div class="body">
<div class="score">
<div id="player-label" class="badge">you</div>
<div id="computer-label" class="badge">com</div>
<p id="score-text">
<span id="player-score">0</span>
:
<span id="computer-score">0</span>
</p>
</div>
<div class="choices">
<img class="button" src="rock.png" alt="Rock">
<img class="button" src="paper.png" alt="Paper">
<img class="button" src="scissors.png" alt="Scissors">
</div>
<div id="msg">
START!
</div>
<div id="finish">
<div id="game-result">
</div>
<div id="play-again">
</div>
</div>
</div>
<script src="javascript.js"></script>
</body>
</html>