-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (52 loc) · 2.73 KB
/
index.html
File metadata and controls
60 lines (52 loc) · 2.73 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
50
51
52
53
54
55
56
57
58
59
60
<!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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link rel="stylesheet" href="sorting.css">
<title>Document</title>
</head>
<header>
<h1> Sorting Visualizer</h1>
<nav>
<div class="row">
<div class="col gap-2 d-sm-flex" id="newArray" style="width: 60%;">
<button type="button" class="btn btn-outline-success btn-secondry newArray">New Array</button>
</div>
<div class="col" id="input" style="margin-left: -20%; margin-top: 2%;">
<span id="size">size
<input id="arr_sz" type="range" min="1" max="100" value="50" class="slider" id="myRange">
</span>
<span class="speed">speed
<input id="input_speed" type="range" min="1" max="100" value="50" class="slider" id="myRange">
</span>
</div>
<div class="col gap-2 d-sm-flex justify-content-end">
<button type="button" class="btn btn-outline-success btn-secondry bubblesort">Bubble Sort</button>
<button type="button" class="btn btn-outline-success btn-secondry selectionsort">Selection Sort</button>
<button type="button" class="btn btn-outline-success btn-secondry quicksort">Quick Sort</button>
<button type="button" class="btn btn-outline-success btn-secondry mergesort">Merge Sort</button>
<button type="button" class="btn btn-outline-success btn-secondry insertionsort">Insertion 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/@popperjs/core@2.11.5/dist/umd/popper.min.js"
integrity="sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.min.js"
integrity="sha384-ODmDIVzN+pFdexxHEHFBQH3/9/vQ9uori45z4JjnFsRydbmQbmL5t1tQ0culUzyK"
crossorigin="anonymous"></script>
<script src="jsfiles/sorting.js"></script>
<script src="jsfiles/bubble.js"></script>
<script src="jsfiles/insertion.js"></script>
<script src="jsfiles/merge.js"></script>
<script src="jsfiles/quick.js"></script>
<script src="jsfiles/selection.js"></script>
</body>
</html>