I want the url to be changed depending of the content that is focused on the site. If I am reading a article and the header is called "economics" I want to add "#economics" as an anchor tag to the url so the users easy can copy the url to share a specific article. Its kinda hard to explain so here is a site that have the scroll/url function that I am looking for: WEBSITE (try to scroll down).
What is this called and how can i get started?
tag with a specific class and adds the text to the url. But i want some more "understanding" before proceeding
– pat Aug 16 '18 at 12:31