-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (60 loc) · 2.55 KB
/
index.html
File metadata and controls
65 lines (60 loc) · 2.55 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lucky Spin - Football Teams</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Lucky Spin - Football Teams</h1>
<!-- Star Filter Section -->
<div class="filter-section">
<h2>Filter by Stars</h2>
<div class="range-container">
<div class="range-label">
<span>Select Star Range: </span>
<span class="range-display">
<span id="min-stars-display">1</span> ⭐ to <span id="max-stars-display">5</span> ⭐
</span>
</div>
<div class="range-inputs">
<div class="range-group">
<label for="min-stars">Min:</label>
<input type="range" id="min-stars" min="1" max="5" step="0.5" value="1">
<span class="range-value" id="min-value">1</span>
</div>
<div class="range-group">
<label for="max-stars">Max:</label>
<input type="range" id="max-stars" min="1" max="5" step="0.5" value="5">
<span class="range-value" id="max-value">5</span>
</div>
</div>
</div>
<p class="team-count">Available teams: <span id="team-count">0</span></p>
</div>
<!-- Wheel Section -->
<div class="wheel-container">
<div class="wheel-pointer">▼</div>
<canvas id="wheel" width="500" height="500"></canvas>
</div>
<!-- Spin Button -->
<button id="spin-btn" class="spin-button">SPIN THE WHEEL</button>
<!-- Result Modal -->
<div id="result-modal" class="modal">
<div class="modal-content">
<h2>Selected Team</h2>
<div id="result-team" class="result-team"></div>
<div id="result-stars" class="result-stars"></div>
<p class="hide-question">Do you want to hide this team from future spins?</p>
<div class="modal-buttons">
<button id="hide-team-btn" class="modal-btn hide-btn">Hide Team</button>
<button id="keep-team-btn" class="modal-btn keep-btn">Keep Team</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>