What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-27 10:32:13
check if connection established with router js
window.addEventListener("offline", (event) => { const statusDisplay = document.getElementById("status"); statusDisplay.textContent = "OFFline"; }); window.addEventListener("online", (event) => { const s... Add solution