title: Hamburger Menu Toggle Javascript
body: <p>I've been trying to make a responsive navbar with a hamburger menu toggle. Did it with a tutorial i found online and everything works, except the toggle for the menu. When i click on the icon nothing happens. I'm quite new at this so I don't know what to do for this. </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-js lang-js prettyprint-override"><code>$(document).ready(function() {
    $('nav-menu').click(function() {
      $('ul').toggleClass('nav-active');
    })
  })</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.section.menu ul {
    display: none;
  }
  
  ul.nav-active {
    display: block !important;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" /&gt;
  &lt;div class='section menu'&gt;
    &lt;nav&gt;
      &lt;div class="toggle"&gt;
        &lt;i class="fa fa-bars nav-menu" aria-hidden="true"&gt;&lt;/i&gt;
      &lt;/div&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href="#jumpcontent"&gt;Über Uns&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#jumplogin"&gt;Login&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#jumpfeedback"&gt;Referenzen&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#jumpcontact"&gt;Kontakt&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/nav&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>