Scroll down to H2 inside an article

Hi guys,
I am trying to implement correctly a code for scrolling down to a certain part of an article but it doesn’t seams right.
I am doing it by creating a summary and inserting and ID tag that looks like this:

Then, I connect the ID to a certain part of the article, like this, by inserting a link with the ID created.

It works fine, but he problem is that I am generating a bunch of erros on Semrush. There are some problem with those links that I need to fix it.

Any help would be very much appreciated.
Thank you! Karla


Here is my site Read-Only: LINK
(how to share your site Read-Only link)