×
×
Correct!
Add a header at the top of the dropdown menu with the text "Header".
<div class="dropdown">
<button data-toggle="dropdown"
class="btn btn-primary dropdown-toggle">
Dropdown Example
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li class="@(15)">Header</li>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
<li><a href="#">JavaScript</a></li>
</ul>
</div>
<div class="dropdown">
<button data-toggle="dropdown"
class="btn btn-primary dropdown-toggle">
Dropdown Example
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li class="dropdown-header">Header</li>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
<li><a href="#">JavaScript</a></li>
</ul>
</div>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?