UFO-level-1/static/js/app.js
// begin function to create the table.
begin function to create the table.
begin function to create the table .
function createTable (data) {
    tbody.html("");
    data.forEach(( row ) => {
        var datarow = tbody.append("tr");
        Object.values(row).forEach(( value ) => {
            var cell = datarow.append("td");
            cell.text(value)
        })
    })
}
function createTable ( data ) { tbody . html ( "" ) ; data . forEach ( ( row ) => { var datarow = tbody . append ( "tr" ) ; Object . values ( row ) . forEach ( ( value ) => { var cell = datarow . append ( "td" ) ; cell . text ( value ) } ) } ) }
begin function to create the table.
begin function to create the table .