Use JavaScript to check if an element is in the middle of the screen vertically, check the example and demo video of the code.
Tag: js
An easy way to create a sticky section inside your page, that will scroll for a certain amount, with a few lines of CSS and JS.
How to lazy load videos and iframes using lozad.js. A short tutorial on this library and why it’s a good option for web development.