PageControl

const pages=document.querySelectorAll("[data-page]");function changePage(e){pages.forEach(e=>{e.style.display="none"}),document.querySelector(`[data-page="${e}"]`).style.display="block"}
Outstanding Octopus