-
Notifications
You must be signed in to change notification settings - Fork 0
/
hurray-page.html
42 lines (40 loc) · 1.59 KB
/
hurray-page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hurray - You Won</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="hurray-container">
<div class="trophy">
<img src="Image/trophy.png" alt="Trophy">
</div>
<div class="star star1"></div>
<div class="star star2"></div>
<div class="star star3"></div>
<div class="star star4"></div>
<div class="star star5"></div>
<div class="star star6"></div>
<div class="star star7"></div>
<div class="star star8"></div>
<h1>HURRAY!!</h1>
<p>YOU WON THE GAME</p>
<button id="play-again-btn">PLAY AGAIN</button>
</div>
<button id="rules-btn" class="rules-btn">RULES</button>
<div id="rules-popup" class="rules-popup">
<button id="close-rules" class="close-btn">X</button>
<h2>Game Rules</h2>
<ul>
<li>Rock beats scissors, scissors beat paper, and paper beats rock.</li>
<li>Agree ahead of time whether you'll count off "rock, paper, scissors, shoot" or just "rock, paper, scissors."</li>
<li>Use rock, paper, scissors to settle minor decisions or simply play to pass the time.</li>
<li>If both players lay down the same hand, each player lays down another hand.</li>
</ul>
</div>
<script src="hurray.js"></script>
</body>
</html>