title: Show element pressing a button while hiding all other elements
body: <p>I have 5 buttons and I want to show only one specific section per button while hiding all other sections. I have different elements with an id and class attributes.</p>
  
  <p>The code for the button is:</p>
  
  <pre><code>document.getElementById('ID-name').classList.toggle('CLASS-name');
  </code></pre>
  
  <p>There must be a code I can use first which closes all other sections.</p>