BCA Student Stories & UpdatesLive
Sprint 2 Capstone: Responsive University Campus Portal
Congratulations on reaching Day 20! Today you synthesize everything learned across Sprint 2 (Box Model, Display, Positioning, Flexbox, Grid, Media Queries, and Transitions) to build a complete Responsive University Campus Portal.
Day 20 Step-by-Step Practical Flow
🎯1. What You Will Learn Today
Sprint 2 Capstone: Responsive University Campus Portal — Comprehensive Practical Guide
Har concept ko visual mental models, code anatomy aur practical industry tips ke sath samjhein.
Congratulations on reaching Day 20! Today you synthesize everything learned across Sprint 2 (Box Model, Display, Positioning, Flexbox, Grid, Media Queries, and Transitions) to build a complete Responsive University Campus Portal.
"Think of this as your semester midterm practical exam: taking all the separate tools in your toolbox and crafting a real, functional software product."
👨🏫3. Teacher Demonstration Code
Complete architecture demonstrating navigation, hero, and grid departments.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apex University Portal</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; background: #f8fafc; color: #0f172a; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: #000; color: #fff; }
.hero { text-align: center; padding: 60px 20px; background: #2563eb; color: #fff; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 40px 24px; }
.dept-card { background: #fff; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; transition: transform 0.2s; }
.dept-card:hover { transform: translateY(-4px); }
</style>
</head>
<body>
<header class="header"><h2>Apex University</h2><div>BCA Portal</div></header>
<section class="hero"><h1>Excellence in Computer Applications</h1></section>
<section class="dept-grid">
<div class="dept-card"><h3>Computer Science</h3><p>Software & Algorithms</p></div>
<div class="dept-card"><h3>Web Technologies</h3><p>Full-Stack Engineering</p></div>
<div class="dept-card"><h3>Data Science</h3><p>Analytics & Machine Learning</p></div>
</section>
</body>
</html>2. Hands-On Practical Lab: Follow Instructions in VS Code
Code like a professional software engineer! Follow the step-by-step instructions below in Visual Studio Code (VS Code) on your PC, test your output locally, and push to GitHub.
Day 20 Practical Task Test Studio
Ensure .portal-nav has `display: flex;` and `justify-content: space-between;`.
Ensure .portal-grid has `display: grid;` and `grid-template-columns: repeat(3, 1fr);`.
Spot the Bug: Broken Mobile View on Full Capstone Portal
Tap or click on the exact line below that contains the error:
Click any code line.portal-grid { display: grid; grid-template-columns: 350px 350px 350px; width: 1050px; /* Hardcoded width breaks completely on smartphones! */}Senior Developer Forensic Analysis:
Hardcoding widths like 1050px prevents responsive reflow and forces horizontal scrolling. Always use fluid grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) or media queries.
📝Independent Practice: Assignment
📄 campus-portal.htmlHomework Task: Production Campus Portal GitHub Release
- •Create folder `day-20` in your repository with `index.html` and `styles.css`.
- •Build a complete University Campus Portal homepage.
- •Section 1: Sticky Navigation Bar with Logo and Links.
- •Section 2: Hero section with CTA button ("Apply for BCA 2026").
- •Section 3: 4 Academic Department Cards with hover elevation (`translateY(-5px)`).
- •Section 4: Faculty Spotlight Section with 2-column layout.
- •Section 5: Professional Footer with Copyright and Quick Links.
- •Ensure 100% mobile responsiveness from 360px to 1440px.
Open Visual Studio Code on your PC (code .), create campus-portal.html, paste this complete step-by-step verified code, test in your browser, and push to your GitHub repo:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BCA Day 20 - University Campus Portal Capstone</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Segoe UI', Tahoma, sans-serif;
background: #060c18;
color: white;
line-height: 1.6;
}
/* Sticky Top Header */
.navbar {
position: sticky;
top: 0;
background: rgba(12, 19, 40, 0.95);
backdrop-filter: blur(8px);
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 32px;
border-bottom: 1px solid #1e293b;
z-index: 100;
}
.navbar h2 { font-size: 18px; color: #38bdf8; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: #38bdf8; }
/* Hero Section */
.hero {
text-align: center;
padding: 80px 20px;
background: radial-gradient(circle at center, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.hero h1 { font-size: 36px; color: white; margin-bottom: 12px; }
.hero p { font-size: 16px; color: #94a3b8; max-width: 600px; margin: 0 auto 24px; }
.btn-cta {
padding: 12px 28px;
background: #2563eb;
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
display: inline-block;
transition: transform 0.2s ease, background 0.2s ease;
}
.btn-cta:hover { transform: translateY(-2px); background: #1d4ed8; }
/* Departments Grid */
.section-title { text-align: center; font-size: 24px; margin: 40px 0 20px; color: #38bdf8; }
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
max-width: 1040px;
margin: 0 auto 60px;
padding: 0 20px;
}
.dept-card {
background: #0c1328;
border: 1px solid #1e293b;
border-radius: 12px;
padding: 24px;
transition: transform 0.2s ease;
}
.dept-card:hover { transform: translateY(-5px); border-color: #38bdf8; }
.dept-card h3 { font-size: 18px; margin-bottom: 8px; color: white; }
.dept-card p { font-size: 13px; color: #94a3b8; }
/* Footer */
footer {
background: #050912;
border-top: 1px solid #1e293b;
padding: 30px 20px;
text-align: center;
font-size: 13px;
color: #64748b;
}
</style>
</head>
<body>
<nav class="navbar">
<h2>🎓 IGNOU BCA Academy</h2>
<ul class="nav-links">
<li><a href="#departments">Departments</a></li>
<li><a href="#faculty">Faculty</a></li>
<li><a href="#admissions">Admissions</a></li>
</ul>
</nav>
<header class="hero">
<h1>National Campus Portal 2026</h1>
<p>Empowering Computer Science & Application students with modern industry lab experience.</p>
<a href="#apply" class="btn-cta">Apply for BCA 2026</a>
</header>
<h2 class="section-title" id="departments">Academic Departments</h2>
<div class="grid">
<div class="dept-card">
<h3>Computer Applications (BCA)</h3>
<p>Full-Stack Web Engineering, Systems Architecture, and Database Systems.</p>
</div>
<div class="dept-card">
<h3>Information Technology</h3>
<p>Cloud Computing, Linux Administration, and Computer Networking.</p>
</div>
<div class="dept-card">
<h3>Artificial Intelligence</h3>
<p>Data Science, Computational Statistics, and Machine Learning algorithms.</p>
</div>
<div class="dept-card">
<h3>Cybersecurity</h3>
<p>Network Defense, Secure Systems Design, and Vulnerability Assessment.</p>
</div>
</div>
<footer>
<p>© 2026 NextSem IGNOU BCA Study Notes • Authored by Er. Manoj Kumar</p>
</footer>
</body>
</html>🎓4. Viva Check: Mandatory Conceptual Test
What is the primary architectural difference between Flexbox and CSS Grid when building a full website layout?
5. Mandatory Step: Push to GitHub to Unlock Next Lesson
Target Repo: html-css-projects
Exact GitHub Setup Guide & Expected Structure
Day 20 RequirementsFollow these exact folder and file names to prevent verification errors.
index.html: Avoid spaces or custom names like Alan Turing..html or Index.HTML. Linux/GitHub servers are strictly case-sensitive.day-20/ for today so you don't overwrite previous days.main.You are welcome to read all notes, inspect code snippets, and practice all exercises of Day 20 freely! To officially submit your GitHub repository and unlock subsequent days in your portfolio, please complete Day 19: CSS Transitions, Transforms & Hover Micro-Interactions first.
Complete Day 19 First