-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
54 lines (53 loc) · 2.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Comatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sorting Algorithm Visualizer</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<header>
<div class="rainbow">
<h1>Sorting Algorithm Visualizer</h1>
</div>
<nav>
<div class="row">
<div class="col gap-2-sm-flex" id="newArray">
<button type="button" class="btn btn-outline-light btn-dark newArray">New Array</button>
</div>
<div class = "col" id = "input">
<span id = "size">Size
<input id = "arr_sz" type="range" min="5" max="100" step= 1 value= 60>
</span>
<span id = "speed">Speed
<input id="speed_input" type="range" min= "20" max= "300" stepDown= 10 value= 60>
</span>
</div>
<div class="col gap-2 d-sm-flex justify-content-end" id="button-design">
<button type="button" class="btn btn-outline-danger btn-dark bubbleSort">Bubble Sort</button>
<button type="button" class="btn btn-outline-danger btn-dark selectionSort">Selection Sort</button>
<button type="button" class="btn btn-outline-danger btn-dark insertionSort">Insertion Sort</button>
<button type="button" class="btn btn-outline-danger btn-dark quickSort">Quick Sort</button>
<button type="button" class="btn btn-outline-danger btn-dark mergeSort">Merge Sort</button>
</div>
</div>
</nav>
</header>
<body class = "p-3 mb-2 bg-dark text-white">
<div id="bars" class="flex-container"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="Sorting Algorith js/sorting.js"></script>
<script src="Sorting Algorith js/bubble.js"></script>
<script src="Sorting Algorith js/insertion.js"></script>
<script src="Sorting Algorith js/merge.js"></script>
<script src="Sorting Algorith js/quick.js"></script>
<script src="Sorting Algorith js/selection.js"></script>
<div class="complexcity box">
<img src="assets/complexcity.png" style="width: 800px; height: 500px;"/>
<img src="assets/notations.png" style="width: 800px; height: 500px;"/>
</div>
<label>Embark on your coding journey with joy || Deepak (<a href="https://github.com/ArrowCod/Sorting-Algorithm-Visualizer">ArrowCod</a>)</label>
</body>
</html>