Open Console To See Logs

isElementInViewport() will work for this because height is less than that of viewport
isElementInViewport() will not work for this because height is greater than that of viewport. So you won't see any logs
isElementViewedTillEnd() will get trigger when you scroll till end of the div, else it won't show log