js/ui.js
/**
 * Creates a td element.
 *
 * @param text Content to create the td element with.
 * */
Creates a td element.
@param text Content to create the td element with.
Creates a td element . @param text Content to create the td element with .
function addTd(text = "", id = "") {
    let td = document.createElement('td')
    td.innerHTML = text
    td.setAttribute("id", id)
    return td
}
function addTd ( text = "" , id = "" ) { let td = document . createElement ( 'td' ) td . innerHTML = text td . setAttribute ( "id" , id ) return td }
Creates a td element.
Creates a td element .