It seems like you were having issues with anchor tags. You do not have to give the link a class of anchor nor create an empty link tag. Instead, you can go directly to an element with the id. Check out the resource below.
I did that because after the header was fixed, the anchors remain in the same position which would be covered by the header. I used to offset the anchors to that they would appear beneath the header to look nicer.
It seems like you were having issues with anchor tags. You do not have to give the link a class of anchor nor create an empty link tag. Instead, you can go directly to an element with the id. Check out the resource below.
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_a_href_anchor
https://github.com/aegirzhu/teacozy/blob/master/index.html#L25 https://github.com/aegirzhu/teacozy/blob/master/index.html#L34 https://github.com/aegirzhu/teacozy/blob/master/index.html#L67