-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (63 loc) · 2.21 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
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<script src="./js/script.js" defer></script>
<title>Frontend Mentor | Rock, Paper, Scissors</title>
</head>
<body>
<header class="header">
<h1 class="game-name">ROCK PAPER SCISSORS LIZARD SPOCK</h1>
<div class="score">
<span class="score__tag">SCORE</span>
<span class="score__value">12</span>
</div>
</header>
<main class="game">
<div class="selection-window">
<div class="chip chip--scissors" data-option="0"></div>
<div class="chip chip--paper" data-option="1"></div>
<div class="chip chip--rock" data-option="2"></div>
<div class="chip chip--lizard" data-option="3"></div>
<div class="chip chip--spock" data-option="4"></div>
</div>
<div class="result-window result-pending hide">
<h3 class="title--player">YOU PICKED</h3>
<h3 class="title--opponent">THE HOUSE PICKED</h3>
<div class="choice choice__player">
<div class="chip">
<div class="winner hide"></div>
</div>
</div>
<div class="choice choice__opponent">
<div class="chip">
<div class="winner hide"></div>
</div>
</div>
<div class="result hide">
<span>YOU WIN</span>
<button class="btn--play-again">PLAY AGAIN</button>
</div>
</div>
</main>
<footer class="footer">
<a href="#rules" class="btn--rules">RULES</a>
</footer>
<div class="popup" id="rules">
<div class="popup__content">
<h2 class="popup__title">RULES</h2>
<a href="#" class="popup__close"><img src="./images/icon-close.svg" alt="close"></a>
<div class="rules">
<img src="./images/image-rules-bonus.svg" alt="rules">
</div>
</div>
</div>
</body>
</html>