title: How do I make my button reveal one item at a time?
body: <p>I have created a list which I want to keep hidden from the user, and a button which I want to use to reveal the list items one by one. I am using jquery and css to hide/display the list items.</p>
  
  <p>My code works fine to reveal the first 'clue' but my question is how do I make the button reveal the second clue on a second click, and then the third clue on a third click. And then after the third click I would like to make the button redundant. Thanks in advance</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() {
    $(".help").click(function() {
      $('li.hide-1').removeClass('hide-1');
    });
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.hide-1,
  .hide-2,
  .hide-3 {
    display: none;
  }</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.min.js"&gt;&lt;/script&gt;
  &lt;div class="clues"&gt;
    &lt;ul&gt;
      &lt;li class="hide-1"&gt;Right winger&lt;/li&gt;
      &lt;li class="hide-2"&gt;Established himself in the Bundesliga&lt;/li&gt;
      &lt;li class="hide-3"&gt;England International&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div class="button"&gt;
    &lt;button type="button" class="help"&gt;I need help&lt;/button&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>