I'm new to programming. How can I get the array and show it in html?
const tableTag = document.querySelector(".table-header")
const createTrTag = document.createElement("tr")
let createTdTag = document.createElement("td")
createTrTag.appendChild(createTdTag)
tableTag.appendChild(createTrTag)
fetch('https://jsonplaceholder.typicode.com/posts').then(response => response.json()).then(data => { return data }).then(data2 => { return data2 })