-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (72 loc) · 2.09 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
<!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">
<title>Rock, Paper, Scissors</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header>
<h1>
<span>Rock</span>
<span>Paper</span>
<span>Scissors</span>
</h1>
<div class="score">
<h4>Score</h4>
<p id="score_points">0</p>
</div>
</header>
<main id="main">
<button class="btn btn-paper pick" data-choice="paper">
<span class="wrapper">
<img src="./images/icon-paper.svg" alt="Paper"/>
</span>
</button>
<button class="btn btn-scissors pick" data-choice="scissors">
<span class="wrapper">
<img src="./images/icon-scissors.svg" alt="Scissors"/>
</span>
</button>
<button class="btn btn-rock pick" data-choice="rock">
<span class="wrapper">
<img src="./images/icon-rock.svg" alt="Rock"/>
</span>
</button>
</main>
<div class="showRules" id="showRules">
<img src="./images/image-rules.svg" alt="rules"/>
<button id="close"><img src="./images/icon-close.svg" alt="close"></button>
</div>
<button class="rules" id="open">Rules</button>
</div>
<div class="selection" id="selection">
<div>
<h2>You picked</h2>
<button class="btn btn-paper" id="user">
<span class="wrapper">
<img src="./images/icon-paper.svg" alt="Paper"/>
</span>
</button>
</div>
<div class="down">
<p class="text">
You <span id="win">win</span>
</p>
<button class="btn2" id="playAgain">Play again</button>
</div>
<div>
<h2>The house picked</h2>
<button class="btn btn-rock" id="computer">
<span class="wrapper">
<img src="./images/icon-rock.svg" alt="Rock"/>
</span>
</button>
</div>
</div>
</body>
<script src="app.js"></script>
</html>