URL Parameters (Query Parameters) are a set o key value pars attached to the end of a url. They are used to send small amounts of data from page to page, or from client to server via a URL.
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);