-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (109 loc) · 3.16 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!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" />
<title>Rock, Paper, Scissors</title>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<header>
<h1>Rock, Paper, Scissors</h1>
</header>
<main>
<article class="rounds">
<h2>How many rounds do you wish to play?</h2>
<fieldset>
<input
type="radio"
name="rounds"
id="round5"
value="5"
title="5 Rounds"
/>
<label for="round5">5</label>
<input
type="radio"
name="rounds"
id="round10"
value="10"
title="10 Rounds"
/>
<label for="round10">10</label>
<input
type="radio"
name="rounds"
id="round15"
value="15"
title="15 Rounds"
/>
<label for="round15">15</label>
<input
type="radio"
name="rounds"
id="round20"
value="20"
title="20 Rounds"
/>
<label for="round20">20</label>
<button type="submit" id="submit" title="Start the game">
Let's Play!
</button>
</fieldset>
</article>
<article class="counter">
<p class="rounds-number">
<span id="rounds-number-rank">0</span> /
<span id="rounds-number-selected">0</span>
</p>
<div class="counter-output">
<h3>User</h3>
<p id="counter-output-user">0</p>
<p id="counter-output-computer">0</p>
<h3>Comp</h3>
</div>
</article>
<article class="big-hands">
<div class="hand" id="hand-left">
<img
src="./assets/images/hand-back-fist-regular.svg"
alt="hand from the left"
/>
</div>
<div class="hand" id="hand-right">
<img
src="./assets/images/hand-back-fist-regular.svg"
alt="hand from the right"
/>
</div>
<h2 id="round-text-winner"></h2>
<h1 id="end-text-winner"></h1>
</article>
<article class="play">
<h3>Make your move:</h3>
<button class="btn-users-hand" id="stone">
<img
src="./assets/images/hand-back-fist-regular.svg"
alt="hand stone"
title="Play with stone"
/></button
><button class="btn-users-hand" id="paper">
<img
src="./assets/images/hand-regular.svg"
alt="hand paper"
title="Play with paper"
/></button
><button class="btn-users-hand" id="scissors">
<img
src="./assets/images/hand-scissors-regular.svg"
alt="hand scissors"
title="Play with scissors"
/>
</button>
</article>
</main>
<footer><a href="index.html" title="Restart the game">restart</a></footer>
<script src="./assets/js/main.js"></script>
</body>
</html>