<script>
let bd = document.querySelector ("body");
let page = document.querySelectorAll(".lang");
for (let j = 0; j < 4; j++){
page[j].addEventListener ("click", function() {
if(document.location.href == "index2.html") bd.requestFullscreen();
bd.requestFullscreen();
let target = event.target;
target.style.display = "none";
})
};
</script> |