JSFiddle - React, Tailwind, and code Playground
HTML
<div id="foo">
</div>
CSS
ul {
list-style: disc;
padding-left: 40px;
}
JavaScript
// Takes input of a value between 1 and 26, inclusive, and converts it to the appropriate character
function alphaToChar(alpha)
{
return String.fromCharCode('a'.charCodeAt() + alpha - 1);
}
var content = "<ul>";
for(i = 0; i < 10; ++i)
{
content += "<li>";
for(j = 1; j <= 26; ++j)
{
content += "<a href=\"" + alphaToChar(j) + ".html\">"
+ alphaToChar(j)
+ "</a>";
}
content += "</li>";
}
document.getElementById("foo").innerHTML = content;