how to add an element with multiple div in javascript code example
Example: js add multiple element to document
function AppendElements(htmlStringList)
{
for (let i = 0;i < htmlStringList.length;++i)
{
var div = document.createElement('div');
div.innerHTML = htmlString.trim();
document.body.appendChild(div);
}
}