I have a request and I am not sure how it is done. On a sign up page after filling in a mobile number field and clicking “Register” ‘mobile=true’ would show at the end of the URL in the browser. How is this done?

I am pretty new to JS so this is a new one on me.