js append a tag code example
Example: JavaScript append HTML
let app = document.querySelector('#app');
app.append('append() Text Demo');
console.log(app.textContent);
let app = document.querySelector('#app');
app.append('append() Text Demo');
console.log(app.textContent);