let divText = document.getElementById("comments").innerHTML; newPageHTML=""; for (let comment = 0; comment < comments.length; comment++) { newPageHTML+=`${comments[comment][0]}: ${comments[comment][1]}
`}; document.getElementById("comments").innerHTML = newPageHTML