-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (48 loc) · 2.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1024">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SORT VISUALISER</title>
<link href="main.css" rel="stylesheet">
</head>
<body class="expand">
<div class="header-container">
<div class="header">
<div class="section" style="align-self: center;">
<span >SORT VISUALISER</span>
</div>
<div class="section">
<input class="slider" id="delay-slider" oninput="updateDelay(this.value)" name="delay-slider"
type="range" min="0" max="800" value="40" step="10"><br>
<label name="delay-slider" id="delayValue">Delay</label>
</div>
<div class="section">
<input class="slider" id="number-slider" onchange="updateSize(this.value)"
oninput="updateSizeValue(this.value)" name="delay-slider" type="range" min="60" max="400" step="20"
value="100"><br>
<label name="number-slider" id="number-value">Number of Elements</label>
</div>
<div class="section">
<select>
<option value="1">Selection Sort</option>
<option value="2">Bubble Sort</option>
<option value="3">Insertion Sort</option>
<option value="4">Merge Sort</option>
<option value="4">Quick Sort</option>
<option value="4">Heap Sort</option>
</select></div>
<div class="section">
<button name="sort" onclick="sort()" id="sort-btn">SORT</button>
</div>
<div class="section">
<button onclick="shuffleArray()">SHUFFLE</button></div>
</div>
</div>
<div class="table expand"></div>
<div class="watermark"><a href="https://github.com/devsebastian">Made with ❤️ by <b>Dev Sebastian</b></a></div>
</body>
<script src="scripts.js"></script>
</html>