It is often that developers find themselves using the incorrect/inefficient anchor names.
According to W3C, anchor names must observe the following rules:
#These are the things you should consider when creating an anchor link:
#13 becomes incorrect when the order changes#usergroups is not the same as #UserGroups. Always check your links and anchor names are identical, matching the capitalization<a name="1st section"></a>
❌ Bad example - Beginning with a number, spaces within, and meaningless anchor name
<a name="get-started"></a>
✅ Good example - Beginning with a letter, no spaces, and a meaningful anchor name