Learning accessibility by building a quiz - step 18

Hello. I only have one tiny question about this step.

From my understanding, href=“#student-info” links the anchor elements in the list to the form’s h2 elements. It is not clear to me why we do this what actually happens when we do it. I tried to google it but I did not really find any answers.

Thank you so much for your time!

The internal link works just like a regular link but takes you to a different part of the same page.

You use it usually in table of contents to help people skip down to the part of the page they want to read.

Thank you so much for your answer and for taking the time to reply with a solution even if my questions are dumb! I feel like I should pay you. :joy:

You are welcome. We all have to ask questions when we don’t know something.