how to use js append method 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"