title: using slidetoggle() to show/hide my div
body: <p>So I have a button and then a div which contains a div, the div is hidden by default so (display:none, right?).</p>
  
  <p>I want to show and hide the list each time is clicked, I'm using js slidetoggle() but can't get it to work cause I am a complete newbie.</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>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  
  
  &lt;script&gt;
  $(document).ready(function(){
      $("#expand").click(function(){
          $(".infor").slideToggle();
      });
  });
  &lt;/script&gt;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button id="expand"&gt;&lt;h6 style=""&gt;Leer más&lt;/h6&gt;&lt;/button&gt;
  
  &lt;div class="info" style=""&gt;
     &lt;ul&gt;
       &lt;li&gt;info1&lt;/li&gt;
    &lt;li&gt;info2&lt;/li&gt;
    &lt;li&gt;info3&lt;/li&gt;
    &lt;li&gt;info4&lt;/li&gt;
    &lt;li&gt;info5&lt;/li&gt;
     &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I would love to learn from you guys how to do this, greetings from Spain.</p>