const data_get = document.getElementById("data_get"); fetch_ask("https://blog.abtmtr.link/api/collections/paste/posts/domain") .then((x) => x.json()) .then((paste) => { const data = JSON.parse(paste.data.body); data_get.innerHTML = data.reduce( (html, subdomain) => html + `

${ subdomain.name }

${subdomain.description.map((x) => `

${x}

`).join("")} ${subdomain.name}`, "" ); });