Currently seeking a resolution to this persistent issue.
Encountering a problem when the window size is reduced enough for the navbar links to be replaced by the collapse icon. Upon clicking the icon to reveal the links, they momentarily appear correctly before promptly disappearing...
Upon clicking the icon, the links display briefly as intended before vanishing half a second later
Here's the snippet of my navbar code
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" id="links" href="distance.html">Distance</a></li>
<li class="nav-item"><a class="nav-link" id="links" href="#">Test</a></li>
<li class="nav-item"><a class="nav-link" id="links" href="#">Test</a></li>
<li class="nav-item"><a class="nav-link" id="links" href="#">Test</a></li>
</ul>
</div>
In addition, I have included the following links for popper, jquery, and bootstrap at the bottom of my body tag, along with the bootstrap css link in the head tag
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d8a8b7a8a8bdaaf6b2ab98e9f6e9eef6e8">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
Your assistance on this matter would be highly appreciated!