title: Toggle button collapse not working in Bootstrap navbar
body: <p>My toggle button is not working when the navbar collapses. I have checked the data-target several times and looks ok. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;div class="navbar navbar-fixed-top navbar-inverse"&gt;
   &lt;div class="container"&gt;
    &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&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;a class="navbar-brand" href="index.html" title="The Title"&gt;
      &lt;img style="max-width:100px;" src="images/LOGO-4.png"&gt;
    &lt;/a&gt;
  
  
      &lt;div class="collapse navbar-collapse navbar-collapse"&gt;
          &lt;ul class="nav navbar-nav pull-right"&gt;
              &lt;li class="active"&gt;&lt;a href="#"&gt;WORK&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;CONTACT&lt;/a&gt;&lt;/li&gt;
  
          &lt;/ul&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Does anybody know what the problem is and how I can fix it?</p>