Skip to content

Commit

Permalink
bar width change
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal2005025 committed Oct 26, 2023
1 parent 7f6b68f commit 8f75547
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bubble_sort.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

.bar {

width: 80px;
width: 7vw;
margin-right: 5px;
display: inline-block;
background-color:white;
Expand Down Expand Up @@ -132,7 +132,7 @@ <h1>Bubble Sort Visualization</h1>
}
}

// Function to perform selection sort and update the visualization
// Function to perform bubble sort and update the visualization
async function bubbleSort(array) {
for (var i = 0; i < array.length; i++) {
var swaped= false;
Expand Down
4 changes: 2 additions & 2 deletions insertion_sort.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

.bar {

width: 80px;
width: 7vw;
margin-right: 5px;
display: inline-block;
background-color: white;
Expand Down Expand Up @@ -132,7 +132,7 @@ <h1>Insertion Sort Visualization</h1>
}
}

// Function to perform selection sort and update the visualization
// Function to perform insertion sort and update the visualization
async function insertionSort(array) {
for (var i = 0; i < array.length; i++) {
var temp = array[i];
Expand Down
2 changes: 1 addition & 1 deletion selection_sort.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

.bar {

width: 80px;
width: 7vw;
margin-right: 5px;
display: inline-block;
background-color: white;
Expand Down

0 comments on commit 8f75547

Please sign in to comment.