-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 3.48 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 3.48 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
<!doctype html>
<html lang="en">
<head>
<title>Visualize Sorting Algo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="./public/index.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" media="all" />
</head>
<body>
<heading>
<h1 class="text-warning">Sorting Algorithms</h1>
<h3 class="text-success warn"><i>Small Screen Version Under Construction , Please View from Desktop</i></h3>
</heading>
<div class="construction">
<img src="https://pngimg.com/uploads/under_construction/under_construction_PNG66.png"/>
</div>
<main>
<nav class="navbar justify-content-between">
<button type="button" class="btn btn-outline-primary" id="generate" onclick="generate_bars()">New Array</button>
<span>
<label for="formControlRangeArray" style="color : white;">Select Array Size</label>
<input type="range" class="form-control-range formControlRangeArray" id="formControlRangeArray" min=10 max = 100 step=1 value=100>
</span>
<span>
<label for="formControlRangeSpeed" style="color : white;">Select Speed</label>
<input type="range" class="form-control-range formControlRangeSpeed" id="formControlRangeSpeed" min=1 max = 10 step=1 value=7>
</span>
<button type="button" class="btn btn-outline-primary" id="Bubble" onclick="BubbleSort()">Bubble sort</button>
<button type="button" class="btn btn-outline-primary" id="Insertion" onclick="InsertionSort()">Insertion sort</button>
<button type="button" class="btn btn-outline-primary" id="Selection" onclick="SelectionSort()">Selection sort</button>
<button type="button" class="btn btn-outline-primary" id="Merge" onclick="MergeSort()">Merge sort</button>
<button type="button" class="btn btn-outline-primary" id="Quick" onclick="QuickSort()">Quick sort</button>
<button type="button" class="btn btn-outline-primary" id="Heap" onclick="HeapSort()">Heap sort</button>
</nav>
<div class="head" id="head">Click On <I>New Array</I> To Create One</div>
<div class="div_element">
<div class="vertical-bars" id="vbars"></div>
</div>
</main>
<footer>
<a href="https://github.com/Anirbansikder/Sorting-Algo-Visualization"><img src="./assets/GitHub-Mark-Light-64px.png" alt="Github Logo" /></a>
</footer>
<script src="./src/app.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</body>
</html>