append in js 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"