append javascript mdn code example
Example: .append js
let parent = document.createElement("div")
parent.append("Some text")
console.log(parent.textContent) // "Some text"
let parent = document.createElement("div")
parent.append("Some text")
console.log(parent.textContent) // "Some text"