how to create an html tag in js with a function and append 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"