Here is the code I'm working with: Link to my Codepen
I need to figure out how to prevent the website from scrolling beyond the end of the content. I've tried using overflow-y:hidden;
in the body element, but that stops the page from scrolling at all. I still want to be able to scroll to the end of my content. Is there a simple way to achieve this without using JavaScript or Bootstrap?
The issue seems to be that each new element added to the page pushes the content further down, causing the scrolling problem.
Appreciate any help you can provide!