js/app.js
// accepts a text string and returns a table header element with that text string
accepts a text string and returns a table header element with that text string
accepts a text string and returns a table header element with that text string
function addTH(elementText) {
  var thEL = document.createElement('th');
  thEL.textContent = elementText;
  return thEL;
}
function addTH ( elementText ) { var thEL = document . createElement ( 'th' ) ; thEL . textContent = elementText ; return thEL ; }
accepts a text string and returns a table header element with that text string
accepts a text string and returns a table header element with that text string