Creating a portfolio page at this link (http://198.96.94.51/v2/
) and encountering an issue with the navigationMenu
. When rapidly clicking on the links on the side, they do not redirect to the correct anchor point (some don't move the page at all). I have set up my anchor tags like so:
<ol class="curtains">
<li id="home" class="cover">
<a id="home"></a>
<header data-fade="550" data-slow-scroll="3">
<h1>John Smith</h1>
<h2>HOBBY/JOB TITLE</h2>
</header>
</li>
</ol>
The code for my navbar -
<ul id="navigationMenu">
<li>
<a class="home" href="#home">
<span>Home</span>
</a>
</li>
<li>
<a class="about" href="#about">
<span>About</span>
</a>
</li>
<li>
<a class="projects" href="#projects">
<span>Projects</span>
</a>
</li>
<li>
<a class="resume" href="#resume">
<span>Resume</span>
</a>
</li>
<li>
<a class="contact" href="#contact">
<span>Contact us</span>
</a>
</li>
</ul>
Simply clicking on the navbar or typing #home in the address bar sometimes does not bring the browser back to the top. Any idea what I might be doing wrong?