append a tags js 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);