When I use this code on my HTML page, the dropdown menu appears correctly. However, once I click a link, the menu does not close and remains open. How can I resolve this issue?
<div class="col-lg-8 col-md-8 col-xs-2 accordion-menu">
<button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse" data-target="#navbar-collapse-toggle-1">
<span class="sr-only">toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-collapse collapse pull-right" id="navbar-collapse-toggle-1">
<ul class="nav navbar-nav navbar-left panel-group no-margin alt-font font-weight-700">
<li><a href="#home" title="Home" class="inner-link" style="font-family:roboto;">Home</a></li>
<li><a href="#creative" title="About" class="inner-link" style="font-family:roboto;">About</a></li>
<li><a href="#our" title="Treatment" class="inner-link" style="font-family:roboto;">Treatment</a></li>
<li><a href="#Aliments" title="Diseases" class="inner-link" style="font-family:roboto;">Diseases</a></li>
<li><a href="#Therapy" title="Therapy" class="inner-link" style="font-family:roboto;">Therapy</a></li>
<li><a href="#testimonial" title="Testimonials" class="inner-link" style="font-family:roboto;">Testimonials</a></li>
<li><a href="#faq" title="FAQ" class="inner-link" style="font-family:roboto;">FAQ</a></li>
<li><a href="#us" title="Contact US" class="inner-link" style="font-family:roboto;">Contact US</a></li>
</ul>
</div>
</div>