Pathname is a part of the URL. It comes just after the domain name but excludes any query strings or hashes. For many Astro pages, you will know the pathname from the actual path of the `.astro` file in your project. However, for dynamic routes and 404 pages, this is not obvious. There is another way though! You can get to the pathname in the JavaScript code in your `.astro` files in two steps. First, use the Astro.request API. From `Astro.request`, you will want to destructure `url`. This is a string containing the full URL. To get the pathname, use the JavaScript `URL` API, calling `new URL(url)`. Here, `url` is the URL as a string, which we got in the previous step. From the new URL object, destructure `pathname` and Bob is your uncle!