function createListElement(task) {
  const liElement = document.createElement('li');
  liElement.innerText = task.commentString;
  return liElement;
}
/** Creates an <li> element containing text. */
Creates an  element containing text.
Creates an element containing text .
function createListElement(task) {
  const liElement = document.createElement('li');
  liElement.innerText = task.commentString;
  return liElement;
}
function createListElement ( task ) { const liElement = document . createElement ( 'li' ) ; liElement . innerText = task . commentString ; return liElement ; }
Creates an <li> element containing text.
Creates an <li > element containing text .