-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (70 loc) · 2.28 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
<!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" />
<script src="app.js" defer></script>
<title>Rock, Paper, Scissors</title>
</head>
<body class="preload">
<div class="container">
<header class="header">
<img src="./images/SUIT-logo.svg" alt="logo" class="logo" />
<div class="score">
<div class="score__title">score</div>
<div class="score__number">0</div>
</div>
</header>
<section class="game">
<button class="choice-btn" data-choice="paper">
<div class="choice paper">
<img src="./images/icon-kelingking.svg" alt="Paper" />
</div>
</button>
<button class="choice-btn" data-choice="scissors">
<div class="choice scissors">
<img src="./images/icon-telunjuk.svg" alt="Scissors" />
</div>
</button>
<button class="choice-btn" data-choice="rock">
<div class="choice rock">
<img src="./images/icon-jempol.svg" alt="Rock" />
</div>
</button>
</section>
</div>
<section class="results hidden">
<h2 class="results__heading">you picked</h2>
<h2 class="results__heading">the house picked</h2>
<div class="results__result"></div>
<div class="results__winner hidden">
<h3 class="results__text"></h3>
<button class="play-again">play again</button>
</div>
<div class="results__result"></div>
</section>
<button class="rules-btn" tabindex="1">rules</button>
<div class="modal">
<div class="modal__container">
<header class="modal__header">
<h2 class="modal__heading">rules</h2>
<button class="close-btn">
<img src="./images/icon-close.svg" alt="Close Button" />
</button>
</header>
<img
src="./images/image-rules.svg"
alt="Rules Image"
class="rules-img"
/>
</div>
</div>
</body>
</html>