title: Fetching DOM with help of pure JavaScript
body: <p>I have this code:</p>
  
  <pre><code>$("#popupShapes ul li a").click(function () {
       //some code
  });
  </code></pre>
  
  <p>I want to convert it to pure javascript.</p>
  
  <p>This not works because getElementById expects to single id:</p>
  
  <pre><code>document.getElementById('popupShapes ul li a')
  </code></pre>
  
  <p>How can I convert the jQuery code above to JavaScript? </p>