-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
119 lines (98 loc) · 3.42 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
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="styles.css">
<title>Frontend Mentor | Rock, Paper, Scissors</title>
</head>
<body>
<header>
<h1 class="screen-reader-only">Rock, Paper, Scisssors Game</h1>
<div class="info container">
<div class="info__logo-container">
<img src="./images/logo.svg" alt="rock, paper, scissors logo" class="info__logo">
</div>
<div class="info__score">
<h2 class="score__title">
Score
</h2>
<p class="score__number">
0
</p>
</div>
</div>
</header>
<main>
<section class="options step-one container">
<h2 class="screen-reader-only">
Choose between rock,paper, or scissors
</h2>
<div class="options__container">
<div class="options__outer-circle paper">
<button type="button" class="options__inner-circle step-one-option" aria-label="paper">
<img src="./images/icon-paper.svg" alt="" class="options__icon" aria-hidden="true">
</button>
</div>
</div>
<div class="options__container">
<div class="options__outer-circle scissors">
<button type="button" class="options__inner-circle step-one-option" aria-label="scissors">
<img src="./images/icon-scissors.svg" alt="" class="options__icon" aria-hidden="true">
</button>
</div>
</div>
<div class="options__container">
<div class="options__outer-circle rock">
<button type="button" class="options__inner-circle step-one-option" aria-label="rock">
<img src="./images/icon-rock.svg" alt="" class="options__icon" aria-hidden="true">
</button>
</div>
</div>
</section>
<section class="step-two container" aria-live="assertive" aria-atomic="true">
<h2 class="screen-reader-only">
Results
</h2>
<div class="pick pick--player">
<h3 class="pick__title">
You picked
</h3>
</div>
<div class="outcome">
<h3 class="outcome__title">
You <span class="result"></span>
</h3>
<button type="button" class="btn outcome__play-again">
Play again
</button>
</div>
<div class="pick pick--house">
<h3 class="pick__title">
The House Picked
</h3>
<div class="options__container house-pick-empty" aria-hidden="true">
<div class="options__outer-circle rock empty">
<button type="button" class="options__inner-circle empty">
</button>
</div>
</div>
</div>
</section>
<section class="all-rules container">
<h2 class="all-rules__title">Rules</h2>
<img src="./images/image-rules.svg" alt="paper beats rock, rock beats scissors, scissors beats paper" class="rules-image">
<button type="button" class="btn close-rules" aria-label="close rules menu">
<img src="./images/icon-close.svg" alt="" class="close-icon" aria-hidden="true">
</button>
</section>
</main>
<footer class="container">
<button type="button" class="btn rules">
Rules
</button>
</footer>
<script src="main.js"></script>
</body>
</html>