Jul 28, 2022 2 min read Programming JavaScript :How to detect if an element is visible How to detect if an element is visible in current viewport