-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (75 loc) · 2.56 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!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" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Indie+Flower&family=Nunito+Sans:wght@400;700&family=Nunito:wght@400;700&family=Permanent+Marker&family=Rampart+One&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./styles.css" />
<title>Rock Paper Scissors</title>
</head>
<body>
<div class="page page-1" id="page-1">
<h1 class="page-header">Take Your Pick</h1>
<section class="page-content">
<button class="page-btn btn-rock" id="rock">
<span class="sr-only">rock</span>
</button>
<button class="page-btn btn-paper" id="paper">
<span class="sr-only">paper</span>
</button>
<button class="page-btn btn-scissors" id="scissor">
<span class="sr-only">scissors</span>
</button>
</section>
</div>
<div class="page page-2" id="page-2">
<div class="page-score">
<p>You</p>
<div class="page-score-number">
<span id="user-score">0</span>
<span>X</span>
<span id="bot-score">0</span>
</div>
<p>Bot</p>
</div>
<div class="page-2-images">
<div class="user-image">
<img src="" alt="rock" id="user-image" />
</div>
<div>
<img src="./assets/images/x.png" alt="verses" />
</div>
<div class="bot-image">
<img src="" id="bot-image" />
</div>
</div>
<div class="page-2-tags">
<span class="page-winner-tag" id="winner-user">Winner</span>
<button class="btn" id="next">Next Round</button>
<span class="page-winner-tag" id="winner-bot">Winner</span>
</div>
</div>
<div class="page page-3" id="page-3">
<h1 id="message"></h1>
<div class="page-score">
<p>You</p>
<div class="page-score-number">
<span id="user-score-final">0</span>
<span>X</span>
<span id="bot-score-final">0</span>
</div>
<p>Bot</p>
</div>
<div class="page-reset">
<button class="btn" id="reset">Play Again</button>
</div>
</div>
<script src="./scripts.js"></script>
</body>
</html>