How to use the pathname function from url

How to use the pathname function from url

More to explore