CSS Studio
Interactive Learning
Hard-coding pixel widths that only fit the desktop frame will fail the mobile checklist. Prefer flex/grid, max-width: 100%, and media queries.
Real-World Projects
CSS Real-World Projects
Real-World Projects is the CSS Studio capstone. You get starter HTML and a CSS editor for five production patterns: a responsive navbar, a SaaS pricing section, a dashboard shell, an accessible auth form, and a modern bento grid. Toggle desktop and mobile frames, check layout with getComputedStyle assertions, and clear each build when the checklist passes. Use these after Flexbox, Grid, variables, and media queries — then move to CSS Battle for short puzzles.
What people get wrong
Hard-coding pixel widths that only fit the desktop frame will fail the mobile checklist. Prefer flex/grid, max-width: 100%, and media queries.
- Do I edit the HTML?
- No. The HTML is fixed starter markup. Your job is the CSS — layout, spacing, focus states, and responsive rules.
- What does the checklist test?
- Computed styles and geometry: display modes, gaps, named grid areas, and no horizontal overflow. Pass every item to clear the project.
Responsive Navbar with Mobile Menu
Logo + links + CTA on desktop; collapse to a hamburger-ready row on mobile.
- Surface
- #15171e
- Primary
- #845ef7
- Gap
- 1rem
Preview
Starter HTML (read-only)
<header class="nav">
<div class="logo">Schoolabe</div>
<nav class="links" aria-label="Primary">
<a href="#">Learn</a>
<a href="#">Quiz</a>
<a href="#">Blog</a>
</nav>
<button class="cta" type="button">Start free</button>
<button class="menu" type="button" aria-label="Open menu">☰</button>
</header>