how to generate html code in js code example
Example: generate html with javascript
let elem = document.getElementById("the tag you want to change code of");
elem.innerHTML = "<p>Hello</p>";
document.innerHTML += '<a href=\"youtue.com\">click me !</a>';