-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (49 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script defer src="app.js"></script>
<script defer src="scripts/bubbleSort.js"></script>
<script defer src="scripts/selectionSort.js"></script>
<script defer src="scripts/mergeSort.js"></script>
<script defer src="scripts/insertionSort.js"></script>
<script defer src="scripts/heapSort.js"></script>
<script defer src="scripts/quickSort.js"></script>
<link rel="stylesheet" href="style.css">
<title>Sorting Visualizer</title>
</head>
<body>
<nav class="navbar navbar-dark">
<div class='sliders'>
<div>
<h1 class='navbar-brand'> Array Size</h1>
<input type="range" min="10" max="120" value="10" class="slider1" id="myRange">
</div>
<div>
<h1 class='navbar-brand'> Speed </h1>
<input type="range" min="1" max="50" value="5" class="slider2" id="myRange">
</div>
</div>
<h1 class="heading navbar-brand">Sorting Visualizer</h1>
<div class="ml-auto align-self-end buttons">
<button class='btn btn-danger button reset'> Generate New Array</button>
<button id='1' class='nav-buttons btn btn-primary'>Bubble Sort</button>
<button id='2' class='nav-buttons btn btn-primary'>Merge Sort</button>
<button id='3' class='nav-buttons btn btn-primary'>Selection Sort</button>
<button id='4' class='nav-buttons btn btn-primary'>Heap Sort</button>
<button id='5' class='nav-buttons btn btn-primary'>Insertion Sort</button>
<button id='6' class='nav-buttons btn btn-primary'>Quick Sort</button>
</div>
</nav>
<div class='d-flex flex-column justify-content-center'>
<div class="board">
<div class='grid'></div>
</div>
</div>
<div class="footer">
Made by Mr Prince
</div>
</body>
</html>