function renderListCount() {
  const incompleteListCount = list.filter((list) => list.complete === false);
  const taskString = incompleteListCount.length === 1 ? "item" : "items";
  listCount.textContent = `${incompleteListCount.length} ${taskString} remaining`;
}
//  render current count of remaining list items

render current count of remaining list items
render current count of remaining list items
function renderListCount() {
  const incompleteListCount = list.filter((list) => list.complete === false);
  const taskString = incompleteListCount.length === 1 ? "item" : "items";
  listCount.textContent = `${incompleteListCount.length} ${taskString} remaining`;
}
function renderListCount ( ) { const incompleteListCount = list . filter ( ( list ) => list . complete === false ) ; const taskString = incompleteListCount . length === 1 ? "item" : "items" ; listCount . textContent = ` ${ incompleteListCount . length } ${ taskString } ` ; }
render current count of remaining list items
render current count of remaining list items