javascrip how to append element to div container 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);