Going Further Lesson 12 of 12
Bootstrap Final Project — A Responsive Landing Page
Build a complete responsive landing page for a local business with a Bootstrap navbar, hero section, cards, pricing, FAQ accordion, contact form and footer.
Time to put it all together. You'll build a complete, mobile-friendly landing page for Kape't Tinapay, a small neighborhood bakery café, using only Bootstrap classes and a few lines of custom CSS.
Sections
- Navbar that collapses on phones
- Hero section with a headline and call-to-action buttons
- Menu highlights in a responsive card grid
- "Why us" features with icons
- FAQ accordion
- Contact form and footer
The complete page
Press Try it yourself, then narrow and widen the window to watch the layout adapt. Change the colors, text and items to make it your own.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kape't Tinapay</title>
<link rel="stylesheet" href="/vendor/bootstrap.min.css">
<style>
:root { --brand: #7a4a1f; }
.text-brand { color: var(--brand); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #5e3815; color: #fff; }
.hero { background: linear-gradient(135deg, #fdf3dc, #f6e2c1); }
.feature-icon { font-size: 2rem; }
</style>
</head>
<body>
<!-- 1. Navbar -->
<nav class="navbar navbar-expand-md bg-white border-bottom sticky-top">
<div class="container">
<a class="navbar-brand fw-bold text-brand" href="#">☕ Kape't Tinapay</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#nav" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="nav">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="#menu">Menu</a></li>
<li class="nav-item"><a class="nav-link" href="#why">Why us</a></li>
<li class="nav-item"><a class="nav-link" href="#faq">FAQ</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- 2. Hero -->
<header class="hero py-5">
<div class="container">
<div class="row align-items-center g-4">
<div class="col-md-7 text-center text-md-start">
<h1 class="display-5 fw-bold text-brand">Fresh pandesal. Strong kape. Every morning.</h1>
<p class="lead">Baked at 4 AM in Barangay San Isidro. Open daily, 5:00 AM to 8:00 PM.</p>
<a href="#menu" class="btn btn-brand btn-lg me-2">See the menu</a>
<a href="#contact" class="btn btn-outline-secondary btn-lg">Order ahead</a>
</div>
<div class="col-md-5 text-center">
<img src="/img/halo-halo.svg" class="img-fluid" style="max-height: 220px" alt="A treat from Kape't Tinapay">
</div>
</div>
</div>
</header>
<!-- 3. Menu cards -->
<section id="menu" class="py-5">
<div class="container">
<h2 class="text-center fw-bold mb-4">Bestsellers</h2>
<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-4 g-3">
<div class="col"><div class="card h-100 text-center"><div class="card-body">
<div class="fs-1">🥖</div><h5 class="card-title">Pandesal</h5>
<p class="card-text text-body-secondary">Soft, warm, 10 pieces</p><p class="fw-bold text-brand mb-0">₱25</p>
</div></div></div>
<div class="col"><div class="card h-100 text-center"><div class="card-body">
<div class="fs-1">☕</div><h5 class="card-title">Kapeng Barako</h5>
<p class="card-text text-body-secondary">Strong Batangas coffee</p><p class="fw-bold text-brand mb-0">₱45</p>
</div></div></div>
<div class="col"><div class="card h-100 text-center"><div class="card-body">
<div class="fs-1">🧀</div><h5 class="card-title">Ensaymada</h5>
<p class="card-text text-body-secondary">Butter, sugar and cheese</p><p class="fw-bold text-brand mb-0">₱35</p>
</div></div></div>
<div class="col"><div class="card h-100 text-center"><div class="card-body">
<div class="fs-1">🍠</div><h5 class="card-title">Ube Cheese Pandesal</h5>
<p class="card-text text-body-secondary">The neighborhood favorite</p><p class="fw-bold text-brand mb-0">₱15</p>
</div></div></div>
</div>
</div>
</section>
<!-- 4. Features -->
<section id="why" class="py-5 bg-body-tertiary">
<div class="container">
<div class="row text-center g-4">
<div class="col-md-4"><div class="feature-icon">🌅</div><h5 class="mt-2">Baked before sunrise</h5><p class="text-body-secondary">Fresh batches at 5 AM and 3 PM.</p></div>
<div class="col-md-4"><div class="feature-icon">🛵</div><h5 class="mt-2">Free delivery</h5><p class="text-body-secondary">Within the barangay for orders ₱150 and up.</p></div>
<div class="col-md-4"><div class="feature-icon">💚</div><h5 class="mt-2">Local ingredients</h5><p class="text-body-secondary">Flour, eggs and coffee from Philippine farms.</p></div>
</div>
</div>
</section>
<!-- 5. FAQ -->
<section id="faq" class="py-5">
<div class="container" style="max-width: 720px">
<h2 class="text-center fw-bold mb-4">Questions</h2>
<div class="accordion" id="faqList">
<div class="accordion-item">
<h3 class="accordion-header"><button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#f1">Do you accept GCash?</button></h3>
<div id="f1" class="accordion-collapse collapse show" data-bs-parent="#faqList"><div class="accordion-body">Yes, GCash, Maya and cash.</div></div>
</div>
<div class="accordion-item">
<h3 class="accordion-header"><button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#f2">Can I order for a party?</button></h3>
<div id="f2" class="accordion-collapse collapse" data-bs-parent="#faqList"><div class="accordion-body">Yes. Order at least one day ahead using the form below.</div></div>
</div>
</div>
</div>
</section>
<!-- 6. Contact -->
<section id="contact" class="py-5 bg-body-tertiary">
<div class="container" style="max-width: 560px">
<h2 class="text-center fw-bold mb-4">Order ahead</h2>
<form class="row g-3">
<div class="col-sm-6"><label class="form-label" for="n">Name</label><input class="form-control" id="n" required></div>
<div class="col-sm-6"><label class="form-label" for="m">Mobile</label><input class="form-control" id="m" placeholder="09XXXXXXXXX" required></div>
<div class="col-12"><label class="form-label" for="o">Order</label><textarea class="form-control" id="o" rows="3" placeholder="e.g. 20 pandesal, 2 barako"></textarea></div>
<div class="col-12 d-grid"><button class="btn btn-brand btn-lg">Send order</button></div>
</form>
</div>
</section>
<footer class="py-4 text-center text-body-secondary border-top">
<small>© 2026 Kape't Tinapay · San Isidro, Rizal · Open daily 5 AM – 8 PM</small>
</footer>
<script src="/vendor/bootstrap.bundle.min.js"></script>
</body>
</html>
What each part uses
| Section | Bootstrap features |
|---|---|
| Navbar | navbar-expand-md, collapse, sticky-top, ms-auto |
| Hero | Grid with col-md-7/col-md-5, display-5, lead, responsive text alignment |
| Bestsellers | row-cols-* card grid, h-100 |
| Features | Three col-md-4 columns that stack on phones |
| FAQ | Accordion |
| Contact | Form controls in a grid, d-grid full-width button |
The custom CSS is tiny: one brand color stored in a CSS variable, used for text and buttons. Changing that single value re-colors the whole site.
Challenges
- Change the brand color and fonts to match a real local business you know.
- Add a "Promos" section with a carousel.
- Add an "Order placed" modal or toast when the form is submitted.
- Connect the form to PHP so orders are saved (see the PHP course).
- Publish it for free with GitHub Pages or Vercel (see the HTML course's publishing lesson).
What's next?
Congratulations on finishing the Bootstrap course! 🎉 Next, try the JavaScript course to add your own interactivity, or React to build larger web apps.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04