js/app.js
// accepts a text string and returns a table data element with that text string
accepts a text string and returns a table data element with that text string
accepts a text string and returns a table data element with that text string
function addTD(elementText) {
  var tdEL = document.createElement('td');
  tdEL.textContent = elementText;
  return tdEL;
}
function addTD ( elementText ) { var tdEL = document . createElement ( 'td' ) ; tdEL . textContent = elementText ; return tdEL ; }
accepts a text string and returns a table data element with that text string
accepts a text string and returns a table data element with that text string