title: multiple html sections, check what section I am on
body: <p>I have 2 HTML sections, they both have the same id (out of my hands, third part cms)</p>
  
  <p>I am currently running some simple code to see how many html section with this ID there is.</p>
  
  <p>How could I set the get array object I am clicking on ?</p>
  
  <p><strong>My js to see how many sections with same ID</strong></p>
  
  <p>so I would like a way that i can <code>console.log(arrayItem)</code> and see what array object i clicked on.</p>
  
  <pre><code>var elms = document.querySelectorAll("[id='sectorpage-strengths']");
  
      for(var i = 0; i &lt; elms.length; i++)
  
      console.log(elms);
      console.log(elms[i]);
  </code></pre>