function cameraFlash() {
    //Show cover element and add animation class
    showElement(coverElement);
    coverElement.classList.add("flash");
    //Play shutter sound
    sounds.cameraShutter.play(0);
    //Remove counter
    counterContainerElement.innerHTML = "";
    //Cover element animation event listener should fire now running afterPhotoTaken function
  }
//Countdown is complete show the flash to indicate picture was taken
Countdown is complete show the flash to indicate picture was taken
Countdown is complete show the flash to indicate picture was taken
function cameraFlash() {
    showElement(coverElement);
    coverElement.classList.add("flash");
    sounds.cameraShutter.play(0);
    counterContainerElement.innerHTML = "";
  }
function cameraFlash ( ) { showElement ( coverElement ) ; coverElement . classList . add ( "flash" ) ; sounds . cameraShutter . play ( 0 ) ; counterContainerElement . innerHTML = "" ; }
Countdown is complete show the flash to indicate picture was taken
Countdown is complete show the flash to indicate picture was taken
//Show cover element and add animation class //Play shutter sound //Remove counter //Cover element animation event listener should fire now running afterPhotoTaken function