I am working on a project for a SPA using hash and vanilla JS. I am injecting html content with a js file but when I am trying to select elements from the DOM it seems like