How can you organize the loading of elements as, for example, it is done in Instagram (adding photos when scrolling to the end of the page):
Pink, the inspector marks the items that have just been added to the house. How to do this on a static site (that is, without php), but through js? And is it even possible?

$(".block").append("<div></div>")) - alexoander