Joe Ricotta | How to get the URL of an element by that element’s CSS selector?

Hey I’m Joe Ricotta, A certain <a> element with dynamic URL has a unique CSS ID.

How could I use this CSS ID to know what is the current URL of this link, with vanilla JavaScript?