Menu
×
×
Correct!
Exercise:Force the navigation bar to always stay at the top of the page when scrolling:
<nav class="navbar navbar-expand-sm bg-light @(9)">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 2</a>
</li>
</ul>
</nav>
<nav class="navbar navbar-expand-sm bg-light fixed-top">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link 2</a>
</li>
</ul>
</nav>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 50 exercises.
Are you sure you want to continue?