write the entire task list to the DOM at once