crop_rotate
Run
<!DOCTYPE html> <html> <body> <h1>JavaScript Window Location Hostname</h1> <p id="host">URL will display here<p> <script> let host = document.getElementById('host'); host.innerHTML = "URL is <br/>" + window.location.hostname; </script> </body> </html>
JavaScript Window Location Hostname
URL will display here