forked from sk66641/Random-Disco-Light-Simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (73 loc) · 3.11 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
<!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="style.css" />
<title>Random Disco Light Simulator</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div class="container">
<div class="background">
<div class="shape"></div>
<div class="shape"></div>
</div>
<div class="box">
<h1>Random Disco Light Simulator</h1>
<div>
<label for="color">1. Number of Colors:</label>
<input type="number" id="color" placeholder="Enter" />
</div>
<div>
<label for="time">2. Time interval (with which the color changes randomly):</label><br />
<input type="number" id="time" placeholder="Enter" />
<select id="unit">
<option value="unit">Unit</option>
<option value="milliseconds">milliseconds</option>
<option value="seconds">seconds</option>
</select>
<br /><strong style="font-size: 22px; color: rgb(47, 47, 251)">[Negative interval or no input will be treated as 0 interval]</strong>
</div>
<div>
<label for="view">3. View:</label>
<select id="view">
<option style="background-color: lightslategray; color: white" value="select">Select</option>
<option value="conic">Conic</option>
<option value="linear">Linear</option>
<option value="radial">Radial</option>
</select>
</div>
<div>
<label for="countdown">4. Countdown Timer (in seconds):</label>
<input type="number" id="countdown" aria-label="Countdown Timer" placeholder="Enter time in seconds">
</div>
<div>
<label for="brightness">5. Brightness:</label><br>
<input type="range" id="brightness" min="0" max="100" value="100" />
</div>
<div>
<label for="saturation">6. Saturation:</label><br>
<input type="range" id="saturation" min="0" max="100" value="100" />
</div>
<div>
<label for="speed">7. Speed of Change:</label><br>
<input type="range" id="speed" min="1" max="10" value="5" />
</div>
<div class="button">
<button id="submit">Submit</button>
<a href="https://github.com/sk66641/Random-Disco-Light-Simulator" target="_blank">
<img src="github.jpeg" alt="github">
</a>
<button id="reset">Reset</button>
</div>
<div id="error"></div>
</div>
</div>
<div id="timerDisplay" aria-label="Timer Display" style="display: none"></div>
<div id="message">
The timer has ended. The page will reload.
</div>
<script src="script.js"></script>
</body>
</html>