torAll('.list-chooser__item').forEach((clickedElement) => {
          clickedElement.addEventListener('click', (evt) => {
              document.querySelectorAll('.list-chooser__item').forEach((el) => {
                  el.classList.remove('is-selected')
              })
              clickedElement.classList.add('is-selected')
          })
      })
  </script>

</body>
</html>
