title: Navbar menu not collapsing in each page
body: <p>I'm using Boostrap and my navigation menu is collapsing well in my index.html but not in my second page. I use exactly the same code for the header in both pages. Where does it come from ?</p>
  <pre><code>&lt;nav class=&quot;navbar navbar-expand-md navbar-light justify-content-between&quot;&gt;
        &lt;h1 class=&quot;navbar-brand top-title&quot;&gt;
          &lt;img src=&quot;img/title-logo.svg&quot; alt=&quot;&quot; style=&quot;width: 30px&quot; /&gt; Title
        &lt;/h1&gt;
        &lt;button
          class=&quot;navbar-toggler&quot;
          type=&quot;button&quot;
          data-bs-toggle=&quot;collapse&quot;
          data-bs-target=&quot;#navbarMenu&quot;
        &gt;
          &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt;
        &lt;/button&gt;
        &lt;div class=&quot;collapse navbar-collapse&quot; id=&quot;navbarMenu&quot;&gt;
          &lt;ul class=&quot;navbar-nav text-center&quot;&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;index.html&quot; class=&quot;nav-link&quot;&gt;Example&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;#&quot; class=&quot;nav-link&quot;&gt;Example&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;#&quot; class=&quot;nav-link&quot;&gt;Example&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;#&quot; class=&quot;nav-link&quot;&gt;Example&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/nav&gt;
  </code></pre>
  <p>Bootstrap link</p>
  <pre><code>&lt;link rel=&quot;stylesheet&quot; href=&quot;css/bootstrap.min.css&quot; /&gt;
  </code></pre>
  <p>Scripts</p>
  <pre><code> &lt;script src=&quot;/js/jquery-3.6.0.min.js&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;
  </code></pre>