How to detect an Ajax event on a page
Sometimes there is a situation to perform a task after performing a Ajax request.
Detect an element is in the viewport [jQuery, HTML, CSS]
Sometimes there is a task of detect whether a block is in the viewing area on screen. So, I want to show you a simple version of the script, which detects whether a block is in the viewport.