💙 Day 27 — Bootstrap Mini Project: Portfolio Page
🎉 Congratulations Rahul — you’ve reached the final day of the Bootstrap module! Hi Guys, Today, you’ll apply everything you’ve learned by building a **Responsive Portfolio Website** using Bootstrap 5. We’ll use a Navbar, Hero section, Card grid for projects, and a clean footer.
🧱 1️⃣ Project Overview
Your project will include:
- ✅ Navbar with your name/logo
- ✅ Hero section with title and button
- ✅ Project cards with images and descriptions
- ✅ Responsive grid layout
- ✅ Footer
💡 2️⃣ HTML Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap Portfolio</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand fw-bold" href="#">Rahul</a>
<button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navMenu">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navMenu">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link active" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#">Projects</a></li>
<li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="text-center py-5 bg-primary text-white">
<div class="container">
<h1 class="fw-bold">Hello, I’m Rahul</h1>
<p class="lead">Frontend Developer | React | Bootstrap Enthusiast</p>
<button class="btn btn-light btn-lg">View Projects</button>
</div>
</section>
<!-- Projects Section -->
<section class="py-5">
<div class="container">
<h2 class="text-center mb-4 text-primary">My Projects</h2>
<div class="row g-4">
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/400x250" class="card-img-top" alt="project">
<div class="card-body">
<h5 class="card-title">Todo App</h5>
<p class="card-text">A modern React.js Todo app with filters and local storage.</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/400x250" class="card-img-top" alt="project">
<div class="card-body">
<h5 class="card-title">Crypto Tracker</h5>
<p class="card-text">Tracks real-time cryptocurrency prices using React and APIs.</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/400x250" class="card-img-top" alt="project">
<div class="card-body">
<h5 class="card-title">Portfolio</h5>
<p class="card-text">My personal responsive portfolio built using Bootstrap 5.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="text-center py-3 bg-dark text-white">
<p>© 2025 Rahul Naidu | Built with ❤️ using Bootstrap</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
🧠 3️⃣ Practice Task
- Replace placeholder images with your own project screenshots.
- Add a “Contact” section below with a simple Bootstrap form.
- Use utility classes to adjust spacing and alignment.
🎯 Summary
You’ve built your first responsive portfolio using Bootstrap 🎉. Now you understand how to use components, grids, utilities, and responsive helpers to build professional, scalable websites — fast.
Comments
Post a Comment