-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (70 loc) · 2.04 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
<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>Algotrithm Visualization</title>
<link rel="stylesheet" type="text/css" href="style/index.css" />
</head>
<body>
<div class="header">
<h1>Garvit Gets Gadgets.</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>