Make a Table

Size:

12345678
11,1C11,2C21,3C31,4C41,5C51,6C61,7C71,8C8
22,1C92,2C102,3C112,4C122,5C132,6C142,7C152,8C16
33,1C173,2C183,3C193,4C203,5C213,6C223,7C233,8C24
44,1C254,2C264,3C274,4C284,5C294,6C304,7C314,8C32
55,1C335,2C345,3C355,4C365,5C375,6C385,7C395,8C40
66,1C416,2C426,3C436,4C446,5C456,6C466,7C476,8C48
77,1C497,2C507,3C517,4C527,5C537,6C547,7C557,8C56

2350 chars

Rows: Columns:



Sample code
function makeRows(m, n) {
let row = "<th></th>";
for (let j = 1; j <= n; j++)
row += "<th>"+j+"</th>";
let text = "<tr>"+row+"</tr>";
for (let i = 1; i <= m; i++) {
row = "<th>"+i+"</th>";
for (let j = 1; j <= n; j++) {
let p = n*(i-1)+j;
let s = "<span class=tip>C"+p+"</span>"
row += "<td>"+i+","+j+s+"</td>";
}
text += "<tr>"+row+"</tr>";
}
let t = text.length+" chars";
console.log("makeRows: "+m+"x"+n+" "+t);
tablo.innerHTML = text; out.innerText = t;
}