Hey there,
I'm facing an issue with the Bootstrap navbar collapse button not working. I've tried everything, followed all the steps in a tutorial, but still can't get it to function properly without altering the Signup and Login buttons. Can someone assist me with this problem?
Below is the HTML code snippet:
<body>
<nav class="navbar navbar-expand-md navbar-fixed-top navbar-light bg-white shadow-sm p-4 mb-5">
<div class="container-fluid">
<div class="nav-header">
<button type="button" class="navbar-toggler position-absolute start-1" data-toggle="collapse" data-target=".navbar-submenu">
<span class="navbar-toggler-icon"></span>
</button>
<div class="col-md">
<a class="navbar-brand" href="#">
<img src="res/logo.png" width="40" height="40" class="" alt=""></img><b> Tbadel.ma</b>
</a>
</div>
</div>
<div class="collapse navbar-collapse navbar-submenu">
<ul class="nav nav-items-row position-absolute end-0">
<ul class="col-md">
<li><a href="#" class="nav-signup">S'identifier</a></li>
</ul>
<ul class="col-md">
<li><a href="#" class="nav-login">Se connecter</a></li>
</ul>
</ul>
</div>
</div>
</nav>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-SR1sx49pcuLnqZUnnPwx6FCym0wLsk5JZuNx2bPPENzswTNFaQU1RDvt3wT4gWFG" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js" integrity="sha384-j0CNLUeiqtyaRmlzUHCPZ+Gy5fQu0dQ6eZ/xAww941Ai1SxSY+0EQqNXNE6DZiVc" crossorigin="anonymous"></script>
</body>