title: Play multiple audio files using Howler.js
body: <p>I need to play multiple audio files using the minimum possible of codes.</p>
  
  <p>In my code below, I need to reuse the same code each time I want to play another sound.</p>
  
  <pre><code>&lt;!-- html buttons --&gt;
  &lt;button class="btn" id="playBtn"&gt;play&lt;/button&gt;&lt;/br&gt;
  &lt;button class="btn" id="playBtn2"&gt;play2&lt;/button&gt;
  
  &lt;!-- adding audio files using the same code twice with two variables sound and sound 2--&gt;
  &lt;script&gt;
  var sound = new Howl({
    src: ['https://www.oxfordlearnersdictionaries.com/media/english/uk_pron/f/f_1/f_1_g/f_1_gb_1_abbr.mp3']
  });
  
  playBtn.addEventListener('click', function() {
  sound.play();
  });
  
  &lt;/script&gt;
  
  
  &lt;script&gt;
  var sound2 = new Howl({
    src: ['https://www.oxfordlearnersdictionaries.com/media/english/us_pron/l/lov/love_/love__us_1.mp3']
  });
  
  playBtn2.addEventListener('click', function() {
  sound2.play();
  });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Is it possible to add more audio files but using less codes.
  Thank you  :)</p>