I'm learning on angular 15.0.0 and I have faced an issue
the navbar doesn't appear why does nothing appear except the Recipe Book
the code
<nav class = "navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a href="#" class ="navbar-brand">Racipe Book!</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="#">Recipes</a></li>
<li><a href="#">Shopping list</a></li>
</ul>
<ul class = "nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" role = "button"> Manage <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">saving data</a></li>
<li><a href="#">fetch data</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
I tried to downgrade the Bootstrap but isn't working, and tried to use the ng-bootstrap package to include Angular-based Bootstrap components. also did not work both gave errors in the terminal


You are missing the
.navbar-expandclass.Navbar - How it works | Bootstrap 5
Also, you should need a button toggle to show/hide the collapsible section. Ensure that you have imported either:
popper.min.js and bootstrap.min.js files
bootstrap.bundle.min.js
in order to make the collapse function work.
Reference: Bootstrap 5 dropdown is not working on Angular 12
Complete code:
Demo @ StackBlitz