How do I create page navigation linking to each H2 within the page? [closed]
This may give you a start and you will be able to adjust the code to your requirements. Add a list ul where you want the page level navigation to appear. <ul class=”page-nav”></ul> Next, use this JS (requires JQuery) to create the navigation. This code assumes that <h2> element do not have id attribute set. … Read more