title: My Bootstrap navbar is not working
body: <p>So I am using Bootstrap to build my website. For large screens I want to display the navigation bar with buttons. However, when it gets to the medium and below sized screens, I would like it to collapse, just that little menu button present. I have this code so far. The menu icon appears like it's supposed to. It just doesn't do anything when I click on the menu icon. Nothing comes up.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;nav class="navbar navbar-inverse" role="navigation"&gt;
      &lt;div class="navbar-header"&gt;
          &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-9"&gt;
              &lt;span class="sr-only pull-right"&gt;Toggle navigation&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;/button&gt;
      &lt;/div&gt;
  
      &lt;div class="collapse navbar-collapse"&gt;
        &lt;ul class="nav navbar-nav"&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn"&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn"&gt;&lt;a href="description.html"&gt;Description&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn"&gt;&lt;a href="gallery.html"&gt;Gallery&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn"&gt;&lt;a href="location.html"&gt;Location&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn"&gt;&lt;a href="availability.html"&gt;Availability&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
          &lt;li&gt;&lt;button type="button" class="btn btn-primary navbar-btn" style="margin-right:0px;"&gt;&lt;a href="rates.html"&gt;Rates&lt;/a&gt;&lt;/button&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>The code is available here: <a href="http://jsfiddle.net/nih5/9D4qj/" rel="nofollow">http://jsfiddle.net/nih5/9D4qj/</a></p>