|
5 | 5 | <meta charset="UTF-8">
|
6 | 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8 |
| - <title>Visualizer for Sorting Algorithms</title> |
| 8 | + <title>Sorting Visualizer</title> |
9 | 9 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
|
10 | 10 | <link rel="stylesheet" href="style.css">
|
11 | 11 | </head>
|
12 | 12 | <header>
|
13 |
| - <nav style="background-color: #42C2FF; font-weight: bold;" class=" navbar-brand navbar-expand-lg" align="center" >Visualizer for Sorting Algorithms</nav> |
| 13 | + <nav class=" navbar-brand navbar-expand-lg bg-info" align="center">Sorting Visualizer</nav> |
14 | 14 | <nav>
|
15 |
| - <div class="row navbar navbar-expand-lg navbar-dark" style="background-color: #85F4FF;"> |
16 |
| - |
| 15 | + <div class="row navbar navbar-expand-lg navbar-dark bg-dark"> |
17 | 16 | <div class=" navbar-brand nav-link col gap-2 d-sm-flex" id="newArray">
|
18 | 17 | <button type="button" class="btn btn-toolbar btn-outline-success btn-light btn-group btn-sm newArray">New Array</button>
|
19 | 18 | </div>
|
20 |
| - |
21 |
| - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> |
22 |
| - <span class="navbar-toggler-icon"></span> |
23 |
| - </button> |
24 |
| - <div class="collapse navbar-collapse col gap-2 ms-auto justify-content-end" id="navbarNav"> |
25 |
| - |
26 |
| - <button type="button" class="btn btn-outline-info btn-light btn-sm insertionSort" style="color: black;">Insertion Sort</button> |
27 |
| - <button type="button" class="btn btn-outline-info btn-light btn-sm selectionSort" style="color: black;">Selection Sort</button> |
28 |
| - <button type="button" class="btn btn-outline-info btn-light btn-sm bubbleSort" style="color: black;">Bubble Sort</button> |
29 |
| - <button type="button" class="btn btn-outline-info btn-light btn-sm quickSort" style="color: black;">Quick Sort</button> |
30 |
| - <button type="button" class="btn btn-outline-info btn-light btn-sm mergeSort" style="color: black;">Merge Sort</button> |
31 |
| - </div> |
32 |
| - |
33 |
| - <div class="col" id="input" > |
34 |
| - <span id="size" style="font-size: 20px; font-weight: bold; margin-left: 100px;">Size |
| 19 | + <div class="col" id="input"> |
| 20 | + <span id="size">Size |
35 | 21 | <input id="arr_sz" type="range" min="5" max="100" step=1 value=60>
|
36 | 22 | </span>
|
37 |
| - <span id="speed" style="font-size: 20px; font-weight: bold; margin-right: 50px;">Speed |
| 23 | + <span id="speed">Speed |
38 | 24 | <input id="speed_input" type="range" min="20" max="300" stepDown=10 value=60>
|
39 | 25 | </span>
|
40 | 26 | </div>
|
41 |
| - |
| 27 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> |
| 28 | + <span class="navbar-toggler-icon"></span> |
| 29 | + </button> |
| 30 | + <div class="collapse navbar-collapse col gap-2 ms-auto justify-content-end" id="navbarNav"> |
| 31 | + |
| 32 | + <button type="button" class="btn btn-outline-info btn-light btn-sm insertionSort">Insertion Sort</button> |
| 33 | + <button type="button" class="btn btn-outline-info btn-light btn-sm selectionSort">Selection Sort</button> |
| 34 | + <button type="button" class="btn btn-outline-info btn-light btn-sm bubbleSort">Bubble Sort</button> |
| 35 | + <button type="button" class="btn btn-outline-info btn-light btn-sm quickSort">Quick Sort</button> |
| 36 | + <button type="button" class="btn btn-outline-info btn-light btn-sm mergeSort">Merge Sort</button> |
| 37 | + </div> |
42 | 38 | </div>
|
43 | 39 | </nav>
|
44 | 40 | </div>
|
45 | 41 | </header>
|
46 | 42 |
|
47 | 43 | <body class="bottom text-white">
|
48 | 44 |
|
49 |
| - <div id="bars" class="flex-container bg-gradient border-2" style="background-color: #B8FFF9;"></div> |
| 45 | + <div id="bars" class="flex-container bg-gradient border-2"></div> |
50 | 46 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
|
51 | 47 | <script src="js_files/sorting.js"></script>
|
52 | 48 | <script src="js_files/bubble.js"></script>
|
|
0 commit comments