I have a header, footer and two body sections. I wanted to do a full page scroll only to my parallax container. I managed to come up with markup and styling to the parallax but didn't have success with the script.
<div class="wrapper">
<div class="top-content">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</div>
<div class="parallax">
<div class="parallax__screen">
<div class="parallax__image">
<div class="parallax__illustration" style="background-image: url('https://picsum.photos/id/1/200/300');"></div>
</div>
<div class="parallax__copy">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
</div>
</div>
<div class="parallax__screen">
<div class="parallax__image">
<div class="parallax__illustration" style="background-image: url('https://picsum.photos/id/22/200/300');"></div>
</div>
<div class="parallax__copy">
<p>
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled
</p>
</div>
</div>
<div class="parallax__screen">
<div class="parallax__image">
<div class="parallax__illustration" style="background-image: url('https://picsum.photos/id/15/200/300');"></div>
</div>
<div class="parallax__copy">
<p>
it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged
</p>
</div>
</div>
<div class="parallax__screen">
<div class="parallax__image">
<div class="parallax__illustration" style="background-image: url('https://picsum.photos/id/10/200/300');"></div>
</div>
<div class="parallax__copy">
<p>
It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
</p>
</div>
</div>
</div>
<div class="bottom-content">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</div>
</div>
Any help would be appreciated. Here is my fiddle