Bootstrap 5·Practice drills 9

Drill 21: List the steps — Navbar and navigation

List the steps the code follows in order.

Beginner 5 min read Lesson 217 of 300 Challenge included
What you will be able to do
  • List the steps the code follows in order.

Practice task

List the steps the code follows in order.

nav.htmlHTML
<nav class="navbar navbar-expand-lg bg-body-tertiary">
  <div class="container">
    <a class="navbar-brand" href="/">EduByte</a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main" aria-controls="main" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="main">
      <ul class="navbar-nav ms-auto">
        <li class="nav-item"><a class="nav-link active" aria-current="page" href="/tutorials">Tutorials</a></li>
      </ul>
    </div>
  </div>
</nav>
Your turn

Write your answer

Easy

List the steps the code follows in order.

TEXT · starter
Your answer…
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Lesson 217 of 300 · 0% of course