-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (66 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rock Paper Scissor</title>
<link rel="icon" href="images/favicon-32x32.png">
<link rel="stylesheet" href="style.css">
</head>
<body class="preload">
<div class="container">
<header class="header">
<img src="images/logo.svg" alt="logo" class="logo">
<div class="score">
<div class="score_title">SCORE</div>
<div class="score_num">0</div>
</div>
</header>
<section class="game">
<button class="choice-btn" data-choice="paper">
<div class="choice paper">
<img src="images/icon-paper.svg" alt="Paper"/>
</div>
</button>
<button class="choice-btn" data-choice="scissors">
<div class="choice scissors">
<img src="images/icon-scissors.svg" alt="Scissors"/>
</div>
</button>
<button class="choice-btn" data-choice="rock">
<div class="choice rock">
<img src="images/icon-rock.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>
<footer class="footer">
<div class="attribution">
<p>Rock Paper Scissors</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>