Skip to content
Learn Netverks

Lesson

Step 20/36 56% through track

top-bar

Top bar navigation

Last reviewed May 28, 2026 Content v20260528
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~1 min
Level
intermediate

This lesson

This lesson teaches Top bar navigation—the ideas, syntax, and habits you need before moving on in Foundation.

Foundation skills help when you inherit marketing sites built on Zurb’s grid system.

You will apply Top bar navigation in contexts like: Large marketing sites, email-adjacent layouts, and legacy responsive redesigns.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

When the previous lesson's MCQs feel easy and you can explain Top bar navigation in your own words.

The top bar is Foundation’s responsive header pattern: top-bar wraps top-bar-left and top-bar-right regions with menu lists inside. Mobile toggles use title-bar and data-responsive-toggle.

Structure checklist

  • Brand in top-bar-left — often a menu-text link
  • Primary nav in menu vertical medium-horizontal
  • data-responsive-menu="accordion medium-dropdown" on the menu for breakpoint behavior

Compare Bootstrap navbar markup—both solve site chrome; Foundation expects foundation() to wire responsive toggles. Keep keyboard focus order logical when menus collapse.

Important interview questions and answers

  1. Q: Why does top bar need JavaScript?
    A: Responsive toggle, dropdown, and sticky behaviors are plugins; CSS alone lays out horizontal menus at wide breakpoints.
  2. Q: title-bar vs top-bar?
    A: title-bar is the compact mobile header with hamburger; top-bar holds the full navigation structure revealed at larger sizes.

Self-check

  1. Which two regions split brand vs navigation in a top bar?
  2. What initialization call must run for responsive menus to work?

Challenge

Responsive top bar

  1. Include title-area and menu links.
  2. Resize below medium and open the mobile menu toggler.

Done when: top bar collapses and expands with Foundation’s responsive menu pattern.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Mobile menu broke how?
  • Current page indication?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump