Technical Documentation Page: User Story #14 (problem)

Hi,
Can anybody tell me how to solve this (topic)?
And also tell me how to create an index tab aside.
Here is my code:
https://codepen.io/Marathe07/pen/JjRvEmw?editors=1100

By index, I mean the side panel through which we can navigate the links quickly.