How to check an element is in viewport

So, maybe you already have seen the case where developer need to check an element (div) is currently visible to user or not. For solving this problem there is a lot of npm packages available … Continue reading How to check an element is in viewport