Loading Page Content...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
In Project 1, we built an individual component: a student profile card. 📱
Now, we are taking the next leap: building an entire Full-Page Website Layout!
In this project, you will design and code a complete School Coding & Robotics Club Landing Page featuring:
Here is the blueprint of our landing page:
+-------------------------------------------------------------------------+ | [HEADER & NAVBAR] | | Logo: DPS Coding Club Links: [ About ] [ Projects ] [ Join ] +-------------------------------------------------------------------------+ | [HERO SECTION (Navy Gradient)] | | | | Ignite Your Passion for Code & Robotics 🤖 | | Learn Python, build smart Arduino robots, and compete | | in national inter-school hackathons! | | | | [ Join the Club (CTA) ] [ View Projects ] | +-------------------------------------------------------------------------+ | [ALERT STRIP: Upcoming Hackathon Announcement (Left Accent Border)] | +-------------------------------------------------------------------------+ | [3-COLUMN FEATURE CARDS (Flexbox with Gap)] | | +---------------------+ +---------------------+ +-------------------+ | | | 🐍 Python & Web | | 🤖 Robotics & IoT | | 🏆 Olympiads | | | | Learn HTML5 & CSS3 | | Sensors & Circuits | | Win State Trophies| | | +---------------------+ +---------------------+ +-------------------+ | +-------------------------------------------------------------------------+ | [FOOTER: Copyright & Social Links] | +-------------------------------------------------------------------------+
This prevents content from stretching awkwardly to the extreme edges on wide desktop monitors!
linear-gradient(135deg, #0f172a, #1e3a8a)), white contrasting text, and spacious vertical padding.border-left: 6px solid #2563eb; with a soft tinted background.display: flex; gap: 24px; with flex: 1; so all 3 cards match heights and share width equally.transform: translateY(-5px); and elevation shadow.Create a file named school-club-landing-page.html in your editor and paste the following complete code:
.container is reused inside the header, hero, alert strip, features, and footer. It enforces consistent alignment across the entire page.margin-top: -25px; and position: relative; z-index: 10; pulls the white alert strip partially over the bottom of the navy hero banner, giving depth and layering!.features-grid { display: flex; gap: 24px; } guarantees equal gutters between the cards without requiring fragile column percentages or floats.height: 400px.transition: all 0.2s ease; on interactive buttons and cards to avoid jarring visual jumps..container { max-width: 1100px; margin: 0 auto; } pattern?.features-grid creates equal 24px spaces between the three feature cards?school-club-landing-page.html in your browser and resize the window to see how it responds..features-grid (for example, "Game Design & Unity") and observe how Flexbox automatically adapts the layout! 🎯In the next lesson, we will continue your web styling journey with Project 3: Modern Responsive Navigation Bar & Dropdown (Beginner Projects).
👉 Continue to Next Lesson: Project 3: Modern Responsive Navigation Bar & Dropdown →
Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| Project 1: Styled Student Profile & ID Card | Project 3: Modern Responsive Navigation Bar & Dropdown |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.