function changeVolume() {
    vol = parseInt(this.value);
    labelVolume.innerHTML = vol;
    countDownAudio.volume = vol / 100;
    gameOverAudio.volume = vol / 100;
    hitAudio.volume = vol / 100;
    levelUpAudio.volume = vol / 100;
    loseAudio.volume = vol / 100;
    retryAudio.volume = vol / 100;
  }
//Volume control of all sounds with one slider

Volume control of all sounds with one slider
Volume control of all sounds with one slider
function changeVolume() {
    vol = parseInt(this.value);
    labelVolume.innerHTML = vol;
    countDownAudio.volume = vol / 100;
    gameOverAudio.volume = vol / 100;
    hitAudio.volume = vol / 100;
    levelUpAudio.volume = vol / 100;
    loseAudio.volume = vol / 100;
    retryAudio.volume = vol / 100;
  }
function changeVolume ( ) { vol = parseInt ( this . value ) ; labelVolume . innerHTML = vol ; countDownAudio . volume = vol / 100 ; gameOverAudio . volume = vol / 100 ; hitAudio . volume = vol / 100 ; levelUpAudio . volume = vol / 100 ; loseAudio . volume = vol / 100 ; retryAudio . volume = vol / 100 ; }
Volume control of all sounds with one slider
Volume control of all sounds with one slider