-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
50 lines (47 loc) · 2.51 KB
/
home.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
<!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">
<title>Sorting Visualizer</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<header>
<h1 align="center">Sorting Visualizer</h1>
<nav>
<div class="row">
<div class="col gap-2 d-sm-flex" id="newArray">
<button type="button" class="btn btn-outline-success 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=50>
</span>
<span id="speed">Speed
<input id="speed_input" type="range" min="20" max="1000" stepDown=10 value=60>
</span>
</div>
<div class="col gap-2 d-sm-flex justify-content-end">
<button type="button" class="btn btn-outline-primary bubbleSort">Bubble Sort</button>
<button type="button" class="btn btn-outline-primary selectionSort">Selection Sort</button>
<button type="button" class="btn btn-outline-primary insertionSort">Insertion Sort</button>
<button type="button" class="btn btn-outline-primary quickSort">Quick Sort</button>
<button type="button" class="btn btn-outline-primary mergeSort">Merge Sort</button>
</div>
</div>
</nav>
</header>
<body class="p-3 mb-2 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-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<script src="js_files/sorting.js"></script>
<script src="js_files/bubble.js"></script>
<script src="js_files/insertion.js"></script>
<script src="js_files/merge.js"></script>
<script src="js_files/quick.js"></script>
<script src="js_files/selection.js"></script>
</body>
</html>