Jamboree Jukebox

Instructions

  1. Have fun!  It’s music ok? You can use any music that you want.
  2. To acquire 30 second samples and thumbnail images, you can search the Itunes library with this link below. .
  3. Include a HEAVY dose of Javascript
  4. The code below offers a starting point.

<button onclick="player('bb.m4a')">play song</button>
<div id="juke">
</div>

<script>
let juke = document.querySelector('#juke');
function player(tune){
juke.innerHTML = "<audio controls autoplay src="+tune+ " type='audio/m4a'></audio>";
}
</script>