crop_rotate
Run
<!DOCTYPE html> <html> <body> <h1>Getting the current URL in JavaScript</h1> <p id="path">URL will display here<p> <script> let path = document.getElementById('path'); window.location.pathname = "/tutorials" </script> </body> </html>
Getting the current URL in JavaScript
URL will display here