From 8f755477c2f979ee041b74e98c349238d080b546 Mon Sep 17 00:00:00 2001 From: vishal2005025 Date: Thu, 26 Oct 2023 22:45:03 +0530 Subject: [PATCH] bar width change --- bubble_sort.html | 4 ++-- insertion_sort.html | 4 ++-- selection_sort.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bubble_sort.html b/bubble_sort.html index 9b3db74..037bb29 100644 --- a/bubble_sort.html +++ b/bubble_sort.html @@ -25,7 +25,7 @@ .bar { - width: 80px; + width: 7vw; margin-right: 5px; display: inline-block; background-color:white; @@ -132,7 +132,7 @@

Bubble Sort Visualization

} } - // 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; diff --git a/insertion_sort.html b/insertion_sort.html index 4cbc64e..e79e332 100644 --- a/insertion_sort.html +++ b/insertion_sort.html @@ -25,7 +25,7 @@ .bar { - width: 80px; + width: 7vw; margin-right: 5px; display: inline-block; background-color: white; @@ -132,7 +132,7 @@

Insertion Sort Visualization

} } - // 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]; diff --git a/selection_sort.html b/selection_sort.html index 14ca00b..b36e1ad 100644 --- a/selection_sort.html +++ b/selection_sort.html @@ -25,7 +25,7 @@ .bar { - width: 80px; + width: 7vw; margin-right: 5px; display: inline-block; background-color: white;