var tr1 = document.createElement("tr"); tr1Node.appendChild(td1) var tr1Node = commentsTable.appendChild(tr1);