agyanadda@gmail.com

Bootstrap Landing Page Project

Projects and Best Practices 1 min read Updated Dec 1, 2026 Topic 31 of 32

Put everything together and build a full responsive landing page for a coaching institute.

Sections we build

  1. Navbar — brand, links and a call-to-action button, collapsing on phones
  2. Hero — big heading, subtitle and two buttons
  3. Features — three columns with icons using the grid
  4. Pricing — cards with h-100 for equal height
  5. Footer — dark background with links

Bootstrap features used

navbar, container, row/col-md-*, row-cols, py-5, display-4, card, btn, bg-dark, text-bg-*, shadow-sm, utilities for spacing and alignment.

Your turn

  • Change the brand colours with CSS variables
  • Add a contact form section with validation
  • Add an FAQ accordion

Almost no custom CSS is needed — that is the power of Bootstrap.

Example

Example — Responsive landing page HTML
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">

<nav class="navbar navbar-expand-md bg-white shadow-sm sticky-top">
  <div class="container">
    <a class="navbar-brand fw-bold text-primary" href="#">CodeClass</a>
    <button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#nav" aria-label="Menu"><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="#features">Features</a></li>
        <li class="nav-item"><a class="nav-link" href="#pricing">Pricing</a></li>
      </ul>
      <a href="#pricing" class="btn btn-primary ms-md-3">Enroll now</a>
    </div>
  </div>
</nav>

<header class="py-5 bg-primary-subtle">
  <div class="container py-4 text-center">
    <h1 class="display-4 fw-bold">Become a Web Developer</h1>
    <p class="lead col-lg-7 mx-auto">Live classes in HTML, CSS, Bootstrap, JavaScript and PHP — with real projects and placement help.</p>
    <div class="d-flex flex-wrap gap-2 justify-content-center">
      <a href="#pricing" class="btn btn-primary btn-lg">Join a batch</a>
      <a href="#features" class="btn btn-outline-primary btn-lg">Learn more</a>
    </div>
  </div>
</header>

<section id="features" class="py-5">
  <div class="container">
    <div class="row g-4 text-center">
      <div class="col-md-4"><i class="bi bi-camera-video fs-1 text-primary"></i><h5 class="mt-2">Live Classes</h5><p class="text-muted">Ask doubts in real time.</p></div>
      <div class="col-md-4"><i class="bi bi-laptop fs-1 text-primary"></i><h5 class="mt-2">Real Projects</h5><p class="text-muted">Build a portfolio you can show.</p></div>
      <div class="col-md-4"><i class="bi bi-award fs-1 text-primary"></i><h5 class="mt-2">Certificate</h5><p class="text-muted">Get certified on completion.</p></div>
    </div>
  </div>
</section>

<section id="pricing" class="py-5 bg-light">
  <div class="container">
    <h2 class="text-center mb-4">Plans</h2>
    <div class="row row-cols-1 row-cols-md-3 g-4">
      <div class="col"><div class="card h-100 text-center shadow-sm"><div class="card-body"><h5>Basic</h5><p class="display-6">₹999</p><p class="text-muted">Recorded lessons</p><a class="btn btn-outline-primary" href="#">Choose</a></div></div></div>
      <div class="col"><div class="card h-100 text-center shadow border-primary"><div class="card-header text-bg-primary">Most popular</div><div class="card-body"><h5>Pro</h5><p class="display-6">₹4,999</p><p class="text-muted">Live classes + projects</p><a class="btn btn-primary" href="#">Choose</a></div></div></div>
      <div class="col"><div class="card h-100 text-center shadow-sm"><div class="card-body"><h5>Mentor</h5><p class="display-6">₹9,999</p><p class="text-muted">1-to-1 mentoring</p><a class="btn btn-outline-primary" href="#">Choose</a></div></div></div>
    </div>
  </div>
</section>

<footer class="py-4 bg-dark text-white-50 text-center">
  <div class="container small">© 2026 CodeClass · Built with Bootstrap 5</div>
</footer>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>

Open it in the Try it editor and resize the preview to see every section adapt.

Try it Now »

Test Yourself With Exercises

Exercise 1 Multiple Choice

Which class keeps the navbar at the top while scrolling, without covering content?

Exercise 2 True / False

row-cols-md-3 with h-100 cards gives equal-height pricing cards.

Exercise 3 Fill in the Blank

The class py-5 adds large padding on the top and ___.

Frequently Asked Questions

Yes. Replace the text, colours and images with your own, add real links and a contact form, and it is ready to publish.