const defaultDuration = 15*60 function Item(name/*, start, duration, end*/) { this.name = name; // this.start = start; // this.ducation = duration; // this.end = end; } function appendItem(item) { let text = '
  • '+item.name+'

  • '; itemList.insertAdjacentHTML('beforeend', text); }