-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
40 lines (37 loc) · 1.44 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sorting Visualization</title>
<link rel="stylesheet" type="text/css" href="style/index.css">
</head>
<body>
<div class="header">
<h1>HamDola Visualizer</h1>
<div class="vars">
<div class="range">
<div class="slide"><label for="bars">ِArray Size</label> : <input id="bars" type="range" name="bars"
min="1" max="100" value="50" oninput="setup()" onchange="setup()">
<span id="b"> </span></div>
<div class="slide"><label for="delay">Speed</label> : <input id="delay" type="range" name="delay"
min="0" max="1000" value="25" oninput="setup()" onchange="setup()">
<span id="d"></span></div>
</div>
<div class="sorts">
<input type="button" onclick="SelectionSort()" value="Selection Sort">
<input type="button" onclick="BubbleSort()" value="Bubble Sort">
<input type="button" onclick="InsertionSort()" value="Insertion Sort">
<input type="button" onclick="MergeSort()" value="Merge Sort">
<input type="button" onclick="QuickSort()" value="Quick Sort">
<input type="button" onclick="HeapSort()" value="Heap Sort"><br><br>
</div>
<button onclick="reset()">Generate New Array</button>
</div>
</div>
<div id="container">
</div>
<script src="App/beep.js"></script>
<script src="App/script.js"></script>
</body>
</html>