Menu
×
×
Correct!
Exercise:Fill in the missing blanks to create a navigation bar that should become vertical on small screens:
<nav class="@(6) @(16) bg-light">
<div class="container-fluid">
<ul class="@(10)">
<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>
<li class="nav-item">
<a class="nav-link" href="#">Link 3</a>
</li>
</ul>
</div>
</nav>
<nav class="navbar navbar-expand-sm bg-light">
<div class="container-fluid">
<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>
<li class="nav-item">
<a class="nav-link" href="#">Link 3</a>
</li>
</ul>
</div>
</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?