how to show a html page only once code example
Example: how to show a html page only once
if (localStorage.getItem("visited")) {
window.location.href = "webPlatform.html";
}
localStorage.setItem("visited", "true");
if (localStorage.getItem("visited")) {
window.location.href = "webPlatform.html";
}
localStorage.setItem("visited", "true");