Intro The idea is to create a JS function that will check if an element is in the middle of the screen. It was required to mark elements as active as […]
Tag: js
I needed a fixed section in a site, that will scroll with you for while on the page. The key point here is that it needed to scroll for a certain […]
Table of contents Why lazy load assets? Browser native alternative Why lozad.js? How to use it Conclusion Why lazy load assets? This is one of the main aspects when it comes […]