JSFiddle - React, Tailwind, and code Playground
HTML
<div id="div1">
</div>
JavaScript
let table1 = $("<table></table>")
for(let y=2;y<10;y++){
let tr = $("<tr></tr>");
for(let x=1;x<10;x++){
tr.append($(`<td>${y}Ă—${x}=${y*x}</td>`));
}
table1.append(tr);
}
$("#div1").append(table1);