nav bar not displays in bootstrap

Posted by Klbaiju under Bootstrap on 11/8/2018 | Points: 10 | Views : 60 | Status : [Member] | Replies : 0
Hi,

I want to display a navigation bar following is my code

<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a href="#" class="navbar-brand">Recipe Book</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="#">Shopping List</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown"></li>
<a href="#" class="dropdown-toggle" role="button">Manage<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Save Data</a></li>
<li><a href="#">Fetch Data</a></li>
</ul>
</ul>
</div>
</div>
</nav>

the above displays only Recipe Book.

and shopping List and dropdown is not displaying

I have tried in online editor also

How to solve this

Regards

Baiju




Responses

(No response found.)

Login to post response