how to add new content with js code example
Example: js add content
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)