Add elements to the DOM with appendChild() or append().
const parent = document.querySelector("#container");
const child = document.createElement("p");
child.textContent = "Hello";
parent.appendChild(child);
// or
parent.append(child, "text", anotherElement);
append() accepts multiple arguments and text strings.