WeCodeAcademy

Bootstrap Navbar

A navbar is the top menu. It collapses behind a toggle button on small screens. Resize the result to see the hamburger button appear.

Examplehtml
Open in editor »

navbar-expand-md means the menu is laid out horizontally from the md breakpoint up and collapses below it.

Quick check

Which class makes a navbar collapse on small screens and expand at md?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.