title: Navbar collapse not working on Bootstrap
body: <p>I cannot get to work the navbar collapse in Bootstrap 3. </p>
  
  <p>My menu collapse nicely when I change screensize, only it won't show the menu when I press the button. </p>
  
  <p>This is my code: </p>
  
  <pre><code>&lt;header class="container"&gt;
    &lt;div id="menu" class="navbar navbar-default"&gt;
        &lt;div class="navbar-header"&gt;
            &lt;button class="btn btn-success navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
                &lt;span class="glyphicon glyphicon-chevron-down"&gt;&lt;/span&gt;
            &lt;/button&gt;
        &lt;div id="logo"&gt;
            &lt;a href='..'&gt;&lt;h3&gt;Logo&lt;/h3&gt;&lt;/a&gt;
          &lt;/div&gt;
       &lt;/div&gt;
        &lt;div class="navbar-collapse collapse"&gt;
            &lt;ul class="nav navbar-nav navbar-right"&gt;
                &lt;li class="nav active"&gt;&lt;a href="."&gt;Home&lt;/a&gt;
                &lt;/li&gt;
                &lt;li class="nav"&gt;&lt;a href="about.html"&gt;About&lt;/a&gt;
                &lt;/li&gt;
                &lt;li class="nav"&gt;&lt;a href="contact.html"&gt;Contact&lt;/a&gt;
                &lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>