Bootstrap 5·Practice drills 10

Drill 24: Recall — Build an accessible dashboard

Close the lesson and reproduce the example from memory.

Beginner 5 min read Lesson 250 of 300 Challenge included
What you will be able to do
  • Close the lesson and reproduce the example from memory.

Practice task

Close the lesson and reproduce the example from memory.

dashboard.htmlHTML
<div class="container-fluid">
  <div class="row min-vh-100">
    <aside class="col-12 col-md-3 col-lg-2 bg-body-tertiary p-3">
      <nav aria-label="Dashboard"><ul class="nav flex-column"><li class="nav-item"><a class="nav-link active" href="#">Overview</a></li></ul></nav>
    </aside>
    <main class="col-12 col-md-9 col-lg-10 p-4">
      <h1 class="h3 mb-4">Overview</h1>
      <div class="row g-3 mb-4">
        <div class="col-12 col-md-4"><div class="card p-3"><h2 class="h6 text-body-secondary">Learners</h2><p class="display-6 mb-0">1,204</p></div></div>
        <div class="col-12 col-md-4"><div class="card p-3"><h2 class="h6 text-body-secondary">Certificates</h2><p class="display-6 mb-0">318</p></div></div>
        <div class="col-12 col-md-4"><div class="card p-3"><h2 class="h6 text-body-secondary">Pass rate</h2><p class="display-6 mb-0">84%</p></div></div>
      </div>
    </main>
  </div>
</div>
Your turn

Write your answer

Easy

Close the lesson and reproduce the example from memory.

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 250 of 300 · 0% of course