Describe the bug
The links in the parse-server API page are broken. Clicking on them changes the page hash but doesn't scroll to the associated section.
To Reproduce
Steps to reproduce the behavior:
- Go to the webpage
- Scroll down to the nav links below the sponsors
- Click on any of the links, none work.
Expected behavior
Clicking on the link should scroll to the associated section.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
One solution is to simply add the id attribute to all the headings so that the browser handles the scrolling without any additional config. For example for the "Using Environment Variables" link, the hash changes to #using-environment-variables, so the associated <h2> in the page should have id="using-environment-variables". This should be done for all the nav links.
Describe the bug
The links in the
parse-serverAPI page are broken. Clicking on them changes the page hash but doesn't scroll to the associated section.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Clicking on the link should scroll to the associated section.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
One solution is to simply add the
idattribute to all the headings so that the browser handles the scrolling without any additional config. For example for the "Using Environment Variables" link, the hash changes to#using-environment-variables, so the associated<h2>in the page should haveid="using-environment-variables". This should be done for all the nav links.