Salir de la pantalla completa
const exitBtn = document.getElementById('exit-btn');
exitBtn.addEventListener('click', ()=>{
if (document.fullscreenElement) {
document.exitFullscreen();
}
});
mentico