I want to write a script in JS to tell if the URL has the # st like https://hoogabooga/t/wow.html#btn1
so I can have it can change the background color of that element.
Because I'm making the pages non-scrollable and small I need to make making pages that extended part of each type of content... (If more was supposed to be there) and making buttons to go to the content on the new page that is that of finish what was left off, and the way I know how to do that is to send them to a page wow.html with the #btn1 but the page can't scroll.
hashchangeevent, or you can check if the # symbol exists with String.prototype.includes