title: Check collision between certain divs
body: <p>How can I check for collision between certain divs?</p>
  <p>At the moment I'm using <code>getBoundingClientRect()</code>, but it checks for every div:</p>
  <pre><code>if (this.getBoundingClientRect()) {
      animateContinue = 1;
  }
  </code></pre>
  <p>How would I go about checking specific ones? Using this <code>for</code> loop, I can get the IDs of the divs I want to check:</p>
  <pre><code>for (var x = 1; x &lt;= noOfBoxArt; x++) {
      console.log('#boxArt' + x);
  }
  </code></pre>