Hello, my navbar element passes the first 4 test. But Nr. 5 wont work.
I’ve added the classes: “nav” 2nav-bar2 and “nav-link” and linked them to the sections as specified
(I think?)
When I click on the links in the nav menu it works fine in my browser.
I also tested it on mozilla and chrome.
My pen: https://codepen.io/doger83_Dev/pen/XWJBGZJ
Code:
<header id="header" class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="nav-link active"><a href="#home">Home</a></li>
<li role="presentation" class="nav-link"><a href="#About">About</a></li>
<li role="presentation" class="nav-link"><a href="#Contact">Contact</a></li>
</ul>
<img id="header-img" class="img-fluid" src="./docs/img/logo.png" alt="DoubleD Artworks">
</nav>
</header>
<section id="about">
<h1>Section About</h1>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Vel corrupti tem</p>
</section>
I cant find the mistake?