Recall & Review
beginner
What are the three main parts of a Bootstrap card?
A Bootstrap card usually has a header, a body, and a footer. These parts help organize content clearly.
Click to reveal answer
beginner
How do you add a header to a Bootstrap card?
Use the class
.card-header inside the card container to create a header section at the top of the card.Click to reveal answer
beginner
What is the purpose of the <code>.card-body</code> class in Bootstrap cards?The <code>.card-body</code> class holds the main content of the card, like text, images, or buttons. It gives padding and spacing inside the card.Click to reveal answer
beginner
How can you add a footer to a Bootstrap card?
Add a
<div> with the class .card-footer inside the card container to create a footer section at the bottom.Click to reveal answer
beginner
Why use a card footer in Bootstrap cards?
A card footer is useful for showing extra info like links, buttons, or small notes separate from the main content.
Click to reveal answer
Which class creates the main content area inside a Bootstrap card?
✗ Incorrect
The
.card-body class is used for the main content inside a Bootstrap card.Where should you place the
.card-header in a Bootstrap card?✗ Incorrect
The
.card-header is placed at the top of the card to show the header section.What is the correct class to add a footer to a Bootstrap card?
✗ Incorrect
Use
.card-footer to add a footer section inside a Bootstrap card.Which part of the card is best for placing buttons or links related to the card content?
✗ Incorrect
The card footer is ideal for buttons or links related to the card content.
What HTML element is commonly used to create each section (header, body, footer) inside a Bootstrap card?
✗ Incorrect
Bootstrap cards typically use
<div> elements with specific classes for header, body, and footer.Describe how to build a simple Bootstrap card with a header, body, and footer.
Think about the order and classes needed inside a card container.
You got /4 concepts.
Explain why separating content into header, body, and footer is helpful in Bootstrap cards.
Consider how people read and understand grouped information.
You got /4 concepts.