res.json()) .then(data => { const contenedor = document.getElementById("galeria"); data.forEach(row => { const foto = row["Sube tu foto"]; const equipo = row["Equipo"]; if (!foto) return; const div = document.createElement("div"); div.className = "img-card"; div.innerHTML = `