fetch("https://enable-cors.org/")
.then(response => response.text())
.then(text => {
const parser = new DOMParser();
const htmlDocument = parser.parseFromString(text, "text/html");
const section = htmlDocument.documentElement.querySelector("section");
document.querySelector("div").appendChild(section);
})