-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (41 loc) · 1.4 KB
/
index.html
File metadata and controls
51 lines (41 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sorting Visualizer</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<header>
<nav>
<div class="brand">Sorting Visualizer</div>
<div class="controls">
<div class="control-group">
<label for="arrayRange">Array Size</label>
<input type="range" id="arrayRange" min="5" max="100" value="35">
</div>
<div class="control-group">
<label for="speedRange">Speed</label>
<input type="range" id="speedRange" min="1" max="500" value="320" step="1">
</div>
<button class="newArray">New Array</button>
<select id="algoSelect">
<option value="Bubble Sort">Bubble Sort</option>
<option value="Selection Sort">Selection Sort</option>
<option value="Insertion Sort">Insertion Sort</option>
</select>
<button id="sortBtn" class="primary-btn">Sort!</button>
</div>
</nav>
</header>
<div class="info-wrapper" style="display: flex; justify-content: space-between; max-width: 1400px; margin: 0 auto;">
<div class="info" id="info"></div>
<div id="cycle" class="cycle">Cycle: 0</div>
</div>
<main>
<div class="barsCon bars-container"></div>
</main>
<script src="index.js"></script>
</body>
</html>