append html code using java script 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);