crop_rotate
Run
<!DOCTYPE html> <html> <body> <h1>Getting the current URL in JavaScript</h1> <p id="url">URL will display here<p> <script> let url = document.getElementById('url'); url.innerHTML = "Full URL is <br/>" + window.location.href; </script> </body> </html>
Getting the current URL in JavaScript
URL will display here