-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (53 loc) · 2.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Jayant Baid">
<meta name="description"
content="A visualization of sorting algorithms like Quick Sort, Merge Sort, Selection Sort, Insertion Sort and Bubble Sort">
<title>Sorting Visualizer</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="sorting.png" type="image/x-icon">
</head>
<body class="main">
<header>
<h1>Sorting Visualizer</h1>
</header>
<main>
<div class="control__range">
<div class="range nowrap">
<button id="newarr">New Array</button>
<label for="size">Size:</label>
<input type="range" name="size" id="size" min="1" max="100" step="1" value="50">
<span id="arraysize" class="rangevalue">50</span>
</div>
<div class="range nowrap">
<label for="speed">Speed:</label>
<input type="range" name="speed" id="speed" min="1" max="100" step="1" value="35">
<span id="speedvalue" class="rangevalue">0.5</span>
</div>
</div>
<div class="control__button">
<button id="selection">Selection Sort</button>
<button id="bubble">Bubble Sort</button>
<button id="insertion">Insertion Sort</button>
<button id="merge">Merge Sort</button>
<button id="quick">Quick Sort</button>
</div>
<div id="bar"> </div>
</main>
<footer>
<p>
Made By Jayant Baid
</p>
</footer>
<script src="JS/bubble.js"></script>
<script src="JS/insertion.js"></script>
<script src="JS/merge.js"></script>
<script src="JS/quick.js"></script>
<script src="JS/selection.js"></script>
<script src="JS/sorting.js"></script>
</body>
</html>