function reset() {
  document.querySelector('#happy').style.display = "none";
  document.querySelector('#sad').style.display = "none";
  document.querySelector('#exhausted').style.display = "none";
  for (let i = 0; i < document.querySelectorAll('li').length; i++) {
    document.querySelectorAll('li')[i].innerText = "";
  }
}
//reset function for each button click
reset function for each button click
reset function for each button click
function reset() {
  document.querySelector('#happy').style.display = "none";
  document.querySelector('#sad').style.display = "none";
  document.querySelector('#exhausted').style.display = "none";
  for (let i = 0; i < document.querySelectorAll('li').length; i++) {
    document.querySelectorAll('li')[i].innerText = "";
  }
}
function reset ( ) { document . querySelector ( '#happy' ) . style . display = "none" ; document . querySelector ( '#sad' ) . style . display = "none" ; document . querySelector ( '#exhausted' ) . style . display = "none" ; for ( let i = 0 ; i < document . querySelectorAll ( 'li' ) . length ; i ++ ) { document . querySelectorAll ( 'li' ) [ i ] . innerText = "" ; } }
reset function for each button click
reset function for each button click