restructured

This commit is contained in:
Karan
2021-12-03 14:13:56 +05:30
committed by GitHub
parent 510c975ac4
commit dc9f7d813a
+1 -1
View File
@@ -17,7 +17,7 @@
html += html +=
`<tr class="box" data-row="${index+1}" data-name="${item}" onclick="getData(this)"><td>${item}</td>`; `<tr class="box" data-row="${index+1}" data-name="${item}" onclick="getData(this)"><td>${item}</td>`;
html += `<td >${index + 1}</td></tr>`; html += `<td >${index + 1}</td></tr>`;
}) });
html += "</table>"; html += "</table>";
document.getElementById("output").innerHTML = html; document.getElementById("output").innerHTML = html;
} }