function soundEffectController() {
    if (audio.isSoundMuted === true) {
        audio.isSoundMuted = false;
        audio.soundButton.innerHTML = "<i class='fas fa-volume-up'></i>";
        clickSound();
    } else if (audio.isSoundMuted === false) {
        audio.isSoundMuted = true;
        audio.soundButton.innerHTML = "<i class='fas fa-volume-mute'></i>";
    }
}
/**
 * Function is tied to utils event listener. If user presses the button, the variable
 * isSoundMuted will change to the opposite boolean value. This is used to determine
 * whether sound will play. 
 */
Function is tied to utils event listener. If user presses the button, the variable
isSoundMuted will change to the opposite boolean value. This is used to determine
whether sound will play.
Function is tied to utils event listener . If user presses the button the variable isSoundMuted will change to the opposite boolean value . This is used to determine whether sound will play .
function soundEffectController() {
    if (audio.isSoundMuted === true) {
        audio.isSoundMuted = false;
        audio.soundButton.innerHTML = "<i class='fas fa-volume-up'></i>";
        clickSound();
    } else if (audio.isSoundMuted === false) {
        audio.isSoundMuted = true;
        audio.soundButton.innerHTML = "<i class='fas fa-volume-mute'></i>";
    }
}
function soundEffectController ( ) { if ( audio . isSoundMuted === true ) { audio . isSoundMuted = false ; audio . soundButton . innerHTML = "<i class='fas fa-volume-up'></i>" ; clickSound ( ) ; } else if ( audio . isSoundMuted === false ) { audio . isSoundMuted = true ; audio . soundButton . innerHTML = "<i class='fas fa-volume-mute'></i>" ; } }
Function is tied to utils event listener.
Function is tied to utils event listener .