🏗️ PHASE 2 · CSS FUNDAMENTALS

Phase 2 Projects

Put your CSS layout skills to work. Four real-world projects using Flexbox, Grid, the Box Model, and responsive design — portfolio-ready from day one.

Lesson 5: Intro to CSS ✓
Lesson 6: Box Model ✓
Lesson 7: Flexbox ✓
Lesson 8: CSS Grid ✓
Lesson 9: Responsive Design ✓
Free
$0 / mo
3 projects
1GB storage
Email support
Team
$49 / mo
5 seats
200GB storage
24/7 support
Get Started →
PROJECT 01 · FLEXBOX
Pricing Cards
Build a polished pricing section with three tiers — Free, Pro, and Team. The featured "Pro" card is visually elevated with a highlight border, popular badge, and slightly larger scale. Everything is responsive with Flexbox.
Flexbox Box Model CSS Variables Hover States Responsive
🟢 Beginner Friendly ⏱️ ~60 min
1
Build the HTML structure — three card divs inside a flex container
2
Style base card with padding, border, border-radius, and box-shadow
3
Elevate the featured card: scale transform, colored border, "Most Popular" badge
4
Add hover effects and make it stack vertically on mobile
MyBrand
Hire Me
Sidebar Nav
▸ Dashboard
▸ Projects
▸ Settings
Main Content Area
PROJECT 02 · FLEXBOX + POSITION
Navigation Bar
Build three navigation variants: a sticky top nav for a portfolio site, a centered docs nav with active states, and an app-style sidebar. Practice sticky positioning, flex alignment, and responsive hamburger menus.
Flexbox position: sticky position: fixed Hamburger Menu Active States
🟡 Beginner+ ⏱️ ~75 min
1
Build the top nav: logo left, links center (flex), CTA button right
2
Make it sticky and add a glass-blur backdrop on scroll with JavaScript
3
Add a hamburger menu that toggles mobile nav visibility
4
Bonus: build a sidebar nav variant with collapsible sections
All
Nature
Urban
PROJECT 03 · CSS GRID
Photo Gallery
Create a masonry-style photo gallery using CSS Grid with grid-template-rows and grid-row: span to create variable-height cells. Add hover overlays with CSS transitions and a JavaScript filter system for categories.
CSS Grid grid-row: span Hover Overlays CSS Filters JS Filtering
🟡 Intermediate ⏱️ ~90 min
1
Build a uniform grid with auto-fill columns and set row heights
2
Use grid-row: span 2 on select items for a masonry feel
3
Add hover overlay with position:absolute, opacity transition, and caption
4
Add filter buttons that show/hide items by data-category attribute
📊
🏠
📁
👤
⚙️
2.4k
Visitors
$840
Revenue
98%
Uptime
143
Orders
📈 Chart Area
PROJECT 04 · CSS GRID + FLEXBOX
Dashboard Layout
Build a full admin dashboard with a fixed sidebar, sticky header, and a responsive content area. Use CSS Grid for the macro layout and Flexbox for the stat cards and data rows. This project combines everything from Phase 2.
CSS Grid Flexbox Sticky Layout Grid Areas Responsive
🔴 Intermediate+ ⏱️ ~2 hours
1
Define the page grid: sidebar | main using grid-template-areas
2
Build the sidebar with icon-only and expanded states
3
Create a 4-column stat card row using Flexbox with gap
4
Add a data table and make the whole layout stack on mobile
🎉
Phase 2 Complete!
You've built real-world CSS layout projects — pricing cards, navigation, a photo gallery, and a full dashboard. These belong in your portfolio. Up next: Advanced CSS in Phase 3.
← Course Home