I am developing a simple user interface, in which I want to add lazy-loading concept on the text using ‘vanilla’ JavaScript. I this right now I am displaying information about 10 users only. When I am going to scroll down I want to load the rest of the information. For that, I find out the current scroll position. If it reaches the bottom, want to append next data to existing one. I tried to append the simple text, It worked. But it is unable to append elements from div. How should I rectify that code?? Thanks..!!