function defaultVolume() {
    audio.gameMusic.volume = audio.musicVolumeSlider.defaultValue / 100;
    audio.clickAudio.volume = audio.soundVolumeSlider.defaultValue / 100;
    audio.gameOverAudio.volume = audio.soundVolumeSlider.defaultValue / 100;
}
// This sets default volume for all audio/music on page load
This sets default volume for all audio/music on page load
This sets default volume for all audio / music on page load
function defaultVolume() {
    audio.gameMusic.volume = audio.musicVolumeSlider.defaultValue / 100;
    audio.clickAudio.volume = audio.soundVolumeSlider.defaultValue / 100;
    audio.gameOverAudio.volume = audio.soundVolumeSlider.defaultValue / 100;
}
function defaultVolume ( ) { audio . gameMusic . volume = audio . musicVolumeSlider . defaultValue / 100 ; audio . clickAudio . volume = audio . soundVolumeSlider . defaultValue / 100 ; audio . gameOverAudio . volume = audio . soundVolumeSlider . defaultValue / 100 ; }
This sets default volume for all audio/music on page load
This sets default volume for all audio / music on page load