A lot of important web sites like Amazon, Facebook, Twitter... essentially consist of a list HTML elements being divs or others that are generated dynamically from a search query or from a menu selection. For example:
- Amazon: a list of products
- Facebook: a list of posts
- Twitter: a list of twitters
What is the best way to generate such lists according to the criteria mentioned using only JavaScript?