 { const div = document.createElement('div'); div.classList = "media"; div.innerHTML = ` ${element.name} ${element.date} ${element.small_comment} ${element.comment} Read Less `; document.getElementById("comment_div").appendChild(div); } 