0

I am currently building a mobile collapsable navbar that when the screen is shrunk the items along the navbar disappear and then appears a hamburger button with a select dropdown of the formerly hidden items. I have been following this previously asked questions, How to add hamburger menu in bootstrap, but I do not see where I went wrong as once the text is hidden and the hamburger button appears I do not have a dropdown menu to select from

<html>
    <head>
        <title> Bubble</title>
    </head>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css">
    <link rel="stylesheet" href="/blog/main/main.css">
    <body>
        <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#hamburger" aria-expanded="false" aria-label="Toggle navigation">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                        <a href="/" class="navbar-brand"><i class="large line chart icon"></i>Dr. Denver Housing Bubble</a>
                    </div>      
                <div class="collapse navbar-collapse" id="hamburger">
                        <ul class="nav navbar-nav">
                            <li><a hef="#">About</a></li>
                            <li><a hef="#">Blogs</a></li>
                            <li><a hef="#">Donate</a></li>
                            <li><a hef="#">Contact</a></li>

                            <li><a href="/login">Login</a></li>
                            <li><a href="/register">Sign Up</a></li>

                            <li><a href="#"> Signed In As Ralph</a></li>
                            <li><a href="/logout">Logout</a></li>
                        </ul>
                    </div>
            </div>
        </nav>
JS Bach
  • 83
  • 1
  • 5
  • 15

1 Answers1

0

I add the following lines of code to my applicatioin to enable the drop down.

<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
JS Bach
  • 83
  • 1
  • 5
  • 15