title: Bootstrap Toggle menu not working in mobile view
body: <p>I created a testing file using bootstrap. I called the bootstrap.min.css in the head section of the webpage.</p>
  
  <p>Also, I called few JavaScript files before closing the body tag.</p>
  
  <p>But now as I want to create a toggle menu this will become a drop down menu when seen in mobile version, the toggle button is not working. Here is the code of Toggle button.</p>
  
  <p>I want to know that what is the reason behind that. Why the toggle button is not working correctly?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;Testing of Bootstrap&lt;/title&gt;
  &lt;meta name-"viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;link rel="stylesheet" type="text/css" href="/home/user/Testing/bootstrap/css/bootstrap.min.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="navbar navbar-default" role="navigation"&gt;
   &lt;div class="container"&gt;
    &lt;div class="navbar-header"&gt;
     &lt;button type="button" class="navbar-toggle" data-ctoggle="collapse" data-target=".navbar-collapse"&gt;
      &lt;span class="sr-only"&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="navbar-collapse collapse"&gt;
     &lt;ul class="nav navbar-nav navbar-right"&gt;
      &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;About Us&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
      &lt;li class="dropdown"&gt;&lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Themes&lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
       &lt;ul class="dropdown-menu"&gt;
        &lt;li class="dropdown-header"&gt;Admin &amp; Dashboard&lt;/li&gt;
       &lt;/ul&gt;
      &lt;/li&gt;
     &lt;/ul&gt;
    &lt;/div&gt;
   &lt;/div&gt;
   
  &lt;/div&gt;
  
  &lt;h1&gt;Testing H1&lt;/h1&gt;
  &lt;div class="container"&gt;
   &lt;div class="row"&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 1&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 2&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 3&lt;/div&gt;
    &lt;div class="clearfix visible-md-block"&gt;&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 4&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 5&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 6&lt;/div&gt;
    &lt;div class="clearfix visible-md-block"&gt;&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 7&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 8&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 9&lt;/div&gt;
    &lt;div class="clearfix visible-md-block"&gt;&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 10&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 11&lt;/div&gt;
    &lt;div class="col-md-4 col-sm-6"&gt;Box 12&lt;/div&gt;
  
   &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script src="https://code.jquery.com/jquery-1.11.2.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="/home/user/Testing/bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Image link: <a href="http://i.stack.imgur.com/tRBaV.png" rel="nofollow">http://i.stack.imgur.com/tRBaV.png</a></p>