Looking to create a dynamic leaderboard for gym exercises, where users can select exercises from a database and have them appear as options in the navbar. Currently manually adding exercises, but seeking a more efficient solution using Bootstrap 5. Any tips or suggestions would be greatly appreciated!
<div class="collapse navbar-collapse justify-content-center" id="navbarCategories">
<ul class="navbar-nav" id="navbar">
<li class="nav-item"><a href="#squats" class="nav-link" style="color: #c5c6c8;">Squats</a></li>
<li class="nav-item"><a href="#deadlifts" class="nav-link" style="color: #c5c6c8;">Deadlifts</a></li>
<li class="nav-item"><a href="#benchpress" class="nav-link" style="color: #c5c6c8;">Bench Press</a></li>
<li class="nav-item"><a href="#overheadpress" class="nav-link" style="color: #c5c6c8;">Overhead Press</a></li>
<div class="dropdown">
<button class="nav-link btn btn-primry dropdown-toggle" data-bs-toggle="dropdown" style="color: #c5c6c8;">Add favorite</button></li>
<ul class="dropdown-menu">
<form id="checkform">
<input type="checkbox" id="benchpress" name="benchpress" value="Bench Press">
<label for="benchpress">Bench Press</label><br>
<input type="checkbox" id="deadlift" name="deadlift" value="Deadlifts">
<label for="deadlift">Deadlifts</label><br>
<input type="checkbox" id="overheadpress" name="overheadpress" value="Overhead Press">
<label for="overheadpress">Overhead Press</label><br><br>
<input type="submit" value="Submit">
</form>
</ul>
</div>
</ul>
</div>