title: Bootstrap dropdown menu won't open
body: <p>I tried to implement many different solutions, but it seems that my bootstrap menu doesn't want to open. My code is the following :</p>
  <p>The menus work in terms of directing to the proper page but the first one (which is supposed to be a dropdown) doesn't open.</p>
  <p>Would you have any idea on how to fix this?</p>
  <p>Thanks a lot!</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"&gt;
  
  &lt;ul class="nav nav-pills"&gt;
    &lt;li class="nav-item dropdown"&gt;
      &lt;a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="/page1" role="button" aria-expanded="false"&gt;Menu 1&lt;/a&gt;
      
      &lt;ul class="dropdown-menu"&gt;
        &lt;li&gt;&lt;a class="dropdown-item" href="/page1"&gt;Sous menu 1&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a class="dropdown-item" href="/page1"&gt;Sous menu 2&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li class="nav-item"&gt; &lt;a class="nav-link" href="/page_2"&gt;Menu2&lt;/a&gt; &lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>