This repository contains a list of examples of news feed. You can find in them the <article> element and <template> element, in the HTML. In the JavaScript, you can find examples for recycling the template, adding the articles from JavaScript, iterating a list of articles, and paginating the results.
Uses the <template> element, which is cloned for each new article pushed into the HTML.
Uses a mockup function that pretends to provide data from the server, giving a list of articles to push into the HTML.
Uses a simple pagination method, to reduce the articles list length.
Detect the user scroll down events to update the list of articles. The list of articles will be increased by eight every time that the user reaches the bottom of the page, until the full list is appended.
Using the bootstrap framework, we updated the look and responsiveness of the articles page.