title: Bootstrap 4 nav not expanding after clicking the toggler
body: <p>So, I am making a navbar in Bootstrap 4. But for some reason, when my navbar gets collapsed (when using a smaller screen/window) and I click the button that is supposed to expand it again, nothing happens. The navbar is not visible. Also, I put the class "navbar-toggler-right" on my button, yet it is not on the right side for some reason.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Admin&lt;/title&gt;
  
      &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous"&gt;
      &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"&gt;&lt;/script&gt;
      &lt;script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"&gt;&lt;/script&gt;
  
      &lt;link
              rel="stylesheet"
              href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;
  &lt;/head&gt;
  
  
  &lt;body&gt;
  &lt;nav class="navbar navbar-light navbar-expand-lg"&gt;
  
      &lt;button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"&gt;
          &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
      &lt;/button&gt;
  
      &lt;div id="navbarNavDropdown" class="collapse navbar-collapse" &gt;
      &lt;ul class="navbar-nav"&gt;
          &lt;li class="nav-item"&gt;
              &lt;a class="nav-link" href="#Pricing"&gt;Pricing&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
              &lt;a class="nav-link" href="#About"&gt;About&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
              &lt;a class="nav-link" href="#FAQ"&gt;FAQ&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
              &lt;a class="nav-link" href="#Blog"&gt;Blog&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="nav-item"&gt;
              &lt;a class="nav-link" href="#Contact"&gt;Contact&lt;/a&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/nav&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>