I have a main HTML page and I need to insert a dynamically generated list from a template in another HTML file that I created.
The template for each item in the list is located on a separate HTML page.
My goal is to create multiple instances of this HTML page, populate them with the correct data, and then append them to the list of items on the main HTML page. While I know how to do this in Java, I am unsure about how to achieve it using HTML/JavaScript.
What is the most effective method for dynamically creating instances of HTML objects?
Thank you