0
0
Bootsrapmarkup~10 mins

Breadcrumb component in Bootsrap - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a breadcrumb container using Bootstrap.

Bootsrap
<nav aria-label="breadcrumb">
  <ol class="breadcrumb[1]">
  </ol>
</nav>
Drag options to blanks, or click blank then click option'
A-item
B-nav
C-list
Attempts:
3 left
💡 Hint
Common Mistakes
Adding suffixes like '-item' or '-nav' to the breadcrumb class on the
    element.
Forgetting to add the breadcrumb class at all.
2fill in blank
medium

Complete the code to add a breadcrumb item that is a link.

Bootsrap
<li class="breadcrumb-item"><a href="[1]">Home</a></li>
Drag options to blanks, or click blank then click option'
A/
B#home
Chome.html
Dindex.html
Attempts:
3 left
💡 Hint
Common Mistakes
Using fragment identifiers like #home which do not navigate to the homepage.
Using relative file names that might not work depending on folder structure.
3fill in blank
hard

Fix the error in the breadcrumb item that marks the current page.

Bootsrap
<li class="breadcrumb-item active" aria-current="[1]">Library</li>
Drag options to blanks, or click blank then click option'
Apage
Blocation
Cstep
Dtrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid values like 'true' or 'location' for aria-current.
Omitting the aria-current attribute on the active breadcrumb item.
4fill in blank
hard

Fill both blanks to create a breadcrumb with two items: a link and the current page.

Bootsrap
<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="[1]">Home</a></li>
    <li class="breadcrumb-item active" aria-current="[2]">Library</li>
  </ol>
</nav>
Drag options to blanks, or click blank then click option'
A/
Bpage
Cstep
D#
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect href values like '#' for the home link.
Using wrong aria-current values like 'step' for the active item.
5fill in blank
hard

Fill all three blanks to create a breadcrumb with three items: Home link, Library link, and current page.

Bootsrap
<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="[1]">Home</a></li>
    <li class="breadcrumb-item"><a href="[2]">Library</a></li>
    <li class="breadcrumb-item active" aria-current="[3]">Data</li>
  </ol>
</nav>
Drag options to blanks, or click blank then click option'
A/
B/library
Cpage
D#
Attempts:
3 left
💡 Hint
Common Mistakes
Using '#' as href for links instead of real paths.
Using wrong aria-current values or omitting it on the active item.