Anchor lnk in RG

How do I create an anchor link?

Hello, I think this will help you Adding section anchors and links

Thank you very much, it helps me
But I would also like to know how I can make those anchor links to take me to an element within the same RG.

Example: I have a calendar with events (medical appointments, birthdays…) and in the same page a RG where is the information of each day separated by days.

I would like that when you select for example the 20th day it scrolls in that RG and takes you to the information of the 20th day.

Thanks