assets/js/function.js
/**
 * Close the popup that are opened
 */
Close the popup that are opened
Close the popup that are opened
function closePopup() {
  const popups = document.querySelectorAll(".popup.show");
  for (let i = 0; i < popups.length; i++) {
    popups[i].classList.remove("show");
  }
}
function closePopup ( ) { const popups = document . querySelectorAll ( ".popup.show" ) ; for ( let i = 0 ; i < popups . length ; i ++ ) { popups [ i ] . classList . remove ( "show" ) ; } }
Close the popup that are opened
Close the popup that are opened