arr.map((item) => { =>>> item.addEventListener('click',function(){ main.style.display = "none"; cf(); });