function buildHeader() {
  var header_tr = document.createElement('tr');
  for(var i = 0; i < tableHeaderArray.length; i++){
    var header_td = document.createElement('td');
    header_td.textContent = tableHeaderArray[i];

    header_tr.appendChild(header_td);
  }
  scoreBoardTable.appendChild(header_tr);
}
//This function will build the header for the score board
This function will build the header for the score board
This function will build the header for the score board
function buildHeader() {
  var header_tr = document.createElement('tr');
  for(var i = 0; i < tableHeaderArray.length; i++){
    var header_td = document.createElement('td');
    header_td.textContent = tableHeaderArray[i];
    header_tr.appendChild(header_td);
  }
  scoreBoardTable.appendChild(header_tr);
}
function buildHeader ( ) { var header_tr = document . createElement ( 'tr' ) ; for ( var i = 0 ; i < tableHeaderArray . length ; i ++ ) { var header_td = document . createElement ( 'td' ) ; header_td . textContent = tableHeaderArray [ i ] ; header_tr . appendChild ( header_td ) ; } scoreBoardTable . appendChild ( header_tr ) ; }
This function will build the header for the score board
This function will build the header for the score board