lc3-bot-example/public/client.js
function(dream) {
  const newListItem = document.createElement('li');
  newListItem.innerHTML = dream;
  dreamsList.appendChild(newListItem);
}
function(dream) {
  const newListItem = document.createElement('li');
  newListItem.innerHTML = dream;
  dreamsList.appendChild(newListItem);
}
function ( dream ) { const newListItem = document . createElement ( 'li' ) ; newListItem . innerHTML = dream ; dreamsList . appendChild ( newListItem ) ; }
a helper function that creates a list item for a given dream
a helper function that creates a list item for a given dream