title: how to change section on scroll?
body: <p>I am new in css and html. I am trying to make one page project but I don't know how to change the section when I go down with scroll wheel of the mouse. Can anybody help me?</p>
  
  <p>Here's the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>section {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    background-color: black;
    visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  section.active {
    visibility: visible;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section data-section="0" class="active"&gt;
    &lt;h1&gt;hello! I'm the first section!&lt;/h1&gt;
  &lt;/section&gt;
  &lt;section data-section="1"&gt;
    &lt;h2&gt;Hello! I'm the second section!&lt;/h2&gt;
  &lt;/section&gt;
  &lt;section data-section="2"&gt;
    &lt;h2&gt;Hello! I'm the third section!&lt;/h2&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>