const songs = [...document.querySelectorAll('.songList li')];
const currentSong = document.querySelector('#currentSong');
songs.map((s) => {
  s.addEventListener('click', () => {
    currentSong.setAttribute('src', "https://archive.org/download/plays_some_standards/" + s.textContent.toLowerCase().replace(/\s/g, '_') + ".mp3");
    songs.map((i) => {
      i.style.textDecoration = 'none';
    });
    s.style.textDecoration = 'underline';
  });
});

const songs = [...document.querySelectorAll('.songList li')];
const currentSong = document.querySelector('#currentSong');
songs.map((s) => {
  s.addEventListener('click', () => {
    currentSong.setAttribute('src', "https://archive.org/download/plays_some_standards/" + s.textContent.toLowerCase().replace(/\s/g, '_') + ".mp3");
    songs.map((i) => {
      i.style.textDecoration = 'none';
    });
    s.style.textDecoration = 'underline';
    currentSong.play();
  });
});

Make clicking a song play it.
Make clicking a song play it.