title: Check if scrolled past div with JavaScript (no jQuery)
body: <p>I am currently learning JavaScript and all the solutions that I've come across use the jQuery library.  Is there a way to do it, just using pure JavaScript?</p>
  
  <p>The idea is to have something like:</p>
  
  <pre><code>function passed(element) {if passed: do something}
  </code></pre>