This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

JS Location

The window.location object

// detect and display the pathname of the current page
document.getElementById("demo").innerHTML =
"Page path is: " + window.location.pathname;