Practice and reinforce the concepts from Lesson 14
Total Activity Time: 45-60 minutes
Time: 5 minutes
:warning: Important: File Management DO NOT DELETE any existing files in the template:
- Package files
- Any other configuration files you didn't create
ONLY EDIT the HTML, CSS, and JavaScript files as needed for your project.
In this hands-on activity, you'll create visually appealing card layouts combined with progress bars to display content and data effectively. Cards are one of Bootstrap's most versatile components, perfect for organizing content in a clean, modular way.
Time: 5 minutes
<head>
section of index.htmltip Pro Tip Keep the preview window open alongside your code to see changes instantly. This helps catch styling issues quickly!
Time: 5 minutes
Time: 10 minutes
<div class="card">
<div class="card-header">Header (optional)</div>
<div class="card-body">Main content area</div>
<div class="card-footer">Footer (optional)</div>
</div>
tip Common Issue
If your cards aren't displaying properly, check that you've closed all <div>
tags correctly!
Time: 10 minutes
.card-title
and .card-text
.card-img-top
or .card-img-bottom
.btn
classes.list-group
)Time: 10 minutes
<div class="progress">
<div class="progress-bar" style="width: 25%"></div>
</div>
.bg-success
(green).bg-warning
(yellow).bg-danger
(red).bg-info
(blue).progress-bar-animated
tip Animation Tip
Add both .progress-bar-striped
and .progress-bar-animated
classes for a moving striped effect!
Time: 5 minutes
Time: 10 minutes
<div class="row">
<div class="col-md-4">
<div class="card h-100">...</div>
</div>
</div>
.h-100
class for equal height cardsTime: 5 minutes
.bg-light
, .bg-dark
, etc.).shadow
or .shadow-sm
.border-primary
, .border-0
)Time: 5 minutes
Your Bootstrap Cards project must include:
.h-100
where appropriate.h-100
class.progress-bar
inside .progress
col-md-*
only applies to medium screens and upcol-12
as a fallback for mobile devicestip Need Help? If you're stuck, try these resources:
:information_source: Important: Submission Instructions When you have completed your Bootstrap Cards project:
:warning: Before You Submit Double-check that:
- All cards display correctly on mobile, tablet, and desktop
- Progress bars show appropriate completion levels
- Your layout is responsive and professional-looking
- You've included all required elements from the checklist