How, when opening a page with a hash at the end of #reviews, load it on a specific reviews block?

  • 0
    How to do so, when clicking on a link with #reviews at the end, the page was opened, not at the beginning, but on a certain block


    JavaScript Anonymous, Dec 3, 2020

  • 1 Answers
  • 0
    but on a specific block


    start this block with the tag & lt; a name = "reviews" & gt; & lt; / a & gt; , the text inside the "link" -anchor is optional along the way, you can leave an empty tag invisible in the browser



    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!