-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (51 loc) · 1.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles/styles.css">
<title>Rock Paper Scissors</title>
</head>
<body>
<main class="container">
<h1 class="title">Rock Paper Scissors</h1>
<p class="subtitle">Select an icon below to play Rock, Paper, Scissors.</p>
<div class="btn-group">
<button title="Rock" class="move-button js-rock-button">
<img src="./images/rock-emoji.png" alt="" class="move-icon">
</button>
<button title="Paper" class="move-button js-paper-button">
<img src="./images/paper-emoji.png" alt="" class="move-icon mover">
</button>
<button title="Scissors" class="move-button js-scissors-button">
<img src="./images/scissors-emoji.png" alt="" class="move-icon">
</button>
</div>
<p class="js-result result"></p>
<p class="js-moves"></p>
<p class="js-score"></p>
<div class="btn-group">
<button class="reset-score js-reset-score">Reset Score</button>
<button class="auto-play js-auto-play">Auto-Play</button>
</div>
<div class="key-div">
<h4>Shortcuts</h4>
<ul>
<li><strong>R</strong> = Rock</li>
<li><strong>P</strong> = Paper</li>
<li><strong>S</strong> = Scissors</li>
<li><strong>A</strong> = Auto-play</li>
<li><strong>Backspace</strong> = Reset Score</li>
</ul>
</div>
<div id="reset-modal" class="modal">
<div class="modal-content">
<p>Are you sure you want to reset the score?</p>
<button id="confirm-reset">Yes</button>
<button id="cancel-reset">No</button>
</div>
</div>
</main>
<script src="./styles/script.js"></script>
</body>
</html>