I have been attempting to create a link to a specific section on a one-page website. Sometimes it works oddly, but most of the time it gets stuck at the section I clicked on and then manual scrolling does not function properly.
From what I've researched online, all that is required is to create an anchor tag with href="#someID" and clicking it should take me to the corresponding ID. Am I overlooking something?
<div>
<div class="content-wrapper">
<div class="v-center">
<div class="main-content" style="margin-top: 200px">
<p> Some Text </p>
<ul>
<li><a href="#anmeldungsprobleme">Problem Collection<br></a></li>
<li><a href="#anmeldungJA">Specific Problem1<br></a></li>
<li><a href="#anmeldungNEIN">Specific Problem2<br></a></li>
<li><a href="#">Specific Problem3<br></a></li>
</ul>
</div>
</div>
</div>
<div style="margin-top: 400px">
<div>
<div id="anmeldungsprobleme">
<h2>IDC Anmeldung schlägt generell fehl</h2>
</div>
<div>
<p>Descriptive Text</p>
<p style="color: green"> Username: Placeholder<br> Passwort: *********</p>
</div>
</div>
</div>
<div id="anmeldungJA">
<h3>Anmeldung ist möglich</h3>
<p>Text about the problem</p>
</div>
</div>