Skip to content

Commit

Permalink
bubble sort
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshatPandey-2004 committed Jul 12, 2024
1 parent 3e72080 commit 9c9ec9a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Algorithm/Bubble.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
<nav class="navbar navbar-expand-lg fixed-top bg-white" >

<div class="container-fluid">
<div class="flex items-center"> <img src="images/fevicon.png" class="h-6 mr-2" alt=""><a class="navbar-brand" style="font-weight: 900 ; color:rgb(219, 127, 219);" href="#">Visual Sort</a></div>
<div class="flex items-center"> <img src="../images/fevicon.png" width="50px" class="h-6 mr-2" alt=""><a class="navbar-brand" style="font-weight: 900 ; color:rgb(219, 127, 219); padding-left: 10px;" href="#">Visual Sort</a></div>
<button class="navbar-toggler" style=" background-color: rgb(202, 111, 202) ;color: black;" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon " ></span>
</button>
<div class="collapse navbar-collapse justify-content-end " id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item" >
<a class="nav-link" href="#home-section">Home</a>
<a class="nav-link" href="../index.html">Home</a>
</li>

<li class="nav-item dropdown">
Expand Down Expand Up @@ -83,7 +83,7 @@
Algorithm
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="Bubble.html">Bubble Sort</a>
<a class="dropdown-item" href="./Bubble.html">Bubble Sort</a>
<a class="dropdown-item" href="selectionsort.html">Selection Sort</a>
<a class="dropdown-item" href="Insertion.html">Insertion Sort</a>
<a class="dropdown-item" href="#">Comb Sort</a>
Expand All @@ -93,13 +93,13 @@
</div>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#features-section">Features</a>
<a class="nav-link" style="font-weight: 500;" href="../index.html#features-section">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#About-Us">About Us</a>
<a class="nav-link" style="font-weight: 500;" href="../index.html#About-Us">About Us</a>
</li>
<li class="nav-item ">
<a class="nav-link log px-3" href="login.html">Login</a>
<a class="nav-link log px-3" href="../login.html">Login</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link log" style="font-weight: 600; background-color: rgb(219, 127, 219); border-radius: 0.4rem; margin-left: 0.7rem;" href="signup.html">Sign Up</a>
Expand All @@ -124,7 +124,7 @@ <h3>Algorithm:</h3>
</div>
<div class="col-md-6">
<div class="bubble-sort-gif">
<img src="./Bubble-sort.gif" alt="Bubble Sort Visualization" class="img-fluid shadow-lg rounded">
<img src="../images/bubble2.gif" alt="Bubble Sort Visualization" class="img-fluid shadow-lg rounded">
</div>
<table class="table table-bordered mt-3">
<thead>
Expand Down Expand Up @@ -274,19 +274,19 @@ <h2 class="text-center">Practice Questions</h2>
<th scope="row">1</th>
<td>Sort an Array</td>
<td>Easy</td>
<td><a href="#">Link</a></td>
<td><a href="https://leetcode.com/problems/sort-an-array/">Link</a></td>
</tr>
<tr>
<th scope="row">2</th>
<td>Sort Colors</td>
<td>Medium</td>
<td><a href="#">Link</a></td>
<td><a href="https://leetcode.com/problems/sort-colors/">Link</a></td>
</tr>
<tr>
<th scope="row">3</th>
<td>Largest Number</td>
<td>Hard</td>
<td><a href="#">Link</a></td>
<td><a href="https://leetcode.com/problems/largest-number/description/">Link</a></td>
</tr>
</tbody>
</table>
Expand Down
20 changes: 16 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
Sorting Visualizers
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="Bubble.html">Bubble Sort</a></li>
<li><a class="dropdown-item" href="./Algorithm/Bubble.html">Bubble Sort</a></li>
<li><a class="dropdown-item" href="selectionsort.html">Selection Sort</a></li>
<li><a class="dropdown-item" href="Insertion.html">Insertion Sort</a></li>
<li><a class="dropdown-item" href="">Comb Sort</a></li>
Expand All @@ -121,10 +121,22 @@
<a class="nav-link" style="font-weight: 600;" href="./visual.html">
Sorting Visualizers
</a>
</li>-->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle font-medium" href="#program-section" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Algorithms
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="./Algorithm/Bubble.html">Bubble Sort</a></li>
<li><a class="dropdown-item" href="selectionsort.html">Selection Sort</a></li>
<li><a class="dropdown-item" href="Insertion.html">Insertion Sort</a></li>
<li><a class="dropdown-item" href="">Comb Sort</a></li>
<li><a class="dropdown-item" href="mergesort.html">Merge Sort</a></li>
<li><a class="dropdown-item" href="">Heap Sort</a></li>
<li><a class="dropdown-item" href="">Quick Sort</a></li>

</ul>
</li>
<li class="nav-item"> -->
<a class="nav-link" style="font-weight: 500;" href="#programs-section">Algorithms</a>
</li>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="#features-section">Features</a>
</li>
Expand Down

0 comments on commit 9c9ec9a

Please sign in to comment.