title: Javascript dropdown menu onclick, (close others, when one is open)
body: <p>I have created a dropdown menu for a responsive website.
  But I have a small problem. When I click the first menu tab, all tabs open.</p>
  
  <p><code>DEMO:</code> <a href="https://jsfiddle.net/vth4gn6w/2/" rel="nofollow">https://jsfiddle.net/vth4gn6w/2/</a></p>
  
  <p>What I want:</p>
  
  <ol>
  <li>When I click on the first tab, I want only that tab to open, without it activating the other tabs.</li>
  <li>When I click on the second tab, I want the first tab to close automatically.</li>
  </ol>
  
  <p>Hope somebody can help me, and plz use fiddle to show me how it's done. Thanks</p>