HTML and CSS Intermediate: Layouts That Don't Fall Apart on Phones
This is for people who can write basic HTML and CSS and keep getting layouts that break on phones. You will build responsive pages with Flexbox and Grid, reuse components, and fix the overlap and overflow bugs that show up after launch. If you keep stacking float hacks and random media queries, every new page will reopen the same fights.
Course access
-
Layout Without Float Hacks (empty)3Lessons · 15 min
-
Flexbox for Real Rows and Columns
Align items in a row or column with Flexbox, control wrap and gap, and stop reaching for float when you need a toolbar or card row. After this, one-dimensional layouts stop being a fight.
5 min -
CSS Grid When Flexbox Isn't Enough
Place content in two axes with Grid, name areas when it helps, and pick Grid over Flexbox for page frames. After this, you stop nesting five flex wrappers for a simple two-column page.
5 min -
-
-
Pages That Survive Phones (empty)4Lessons · 20 min
-
Responsive Layout With Media Queries That Make Sense
Write media queries that match real widths, change layout at clear breakpoints, and avoid one query per pixel. After this, the page adapts on purpose instead of by accident.
5 min -
Mobile-First Without Building Everything Twice
Start with the narrow layout, layer wider rules with min-width, and share the same HTML. After this, you add desktop polish without rewriting the phone version.
5 min -
Images and Typography That Scale Without Breaking
Make images fluid without crushing aspect ratio, and scale type with rem and clamp so phones stay readable. After this, media and text stop blowing out the layout.
5 min -
-
-
Components You Can Reuse (empty)4Lessons · 20 min
-
Navigation That Still Works on a Narrow Screen
Build a header that stacks or collapses cleanly on phones without covering content, and keep links usable with a keyboard. After this, the menu is not the first thing that breaks.
5 min -
Cards, Buttons and Shared Styles Across Pages
Extract card and button classes you can drop on multiple pages, and keep modifiers small. After this, a design change is one stylesheet edit, not twelve.
5 min -
Custom Properties (CSS Variables) You Won't Regret
Store brand colours and spacing as custom properties, override them on a section when needed, and stop hunting hex codes. After this, a rebrand is a few root values.
5 min -
-
-
Forms and States That Look Finished (empty)3Lessons · 15 min
-
Focus, Hover and Disabled States People Can See
Style :focus-visible, :hover and :disabled so controls look usable, and keep focus rings instead of removing them. After this, keyboard users can tell where they are.
5 min -
Accessible Forms: Labels, Errors and Keyboard Paths
Tie labels to inputs, show errors next to the field, and keep the whole form usable with Tab and Enter. After this, people can finish the form without a mouse.
5 min -
-
-
Keep Layouts From Fighting You (empty)3Lessons · 15 min
-
Fix Overlap, Overflow and Z-Index Without Guessing
Diagnose horizontal scroll, stacking contexts and overflow, and fix them with a measured change. After this, you stop raising z-index until something sticks.
5 min -
Organize CSS So You Can Find Things Later
Split styles by layout, components and utilities, name classes so they mean something, and leave comments that help the next edit. After this, a six-month-old stylesheet is still navigable.
5 min -
-
-
Final Check: HTML and CSS Intermediate (empty)1Lessons · 15 min
-
About
This is for people who can write basic HTML and CSS and keep getting layouts that break on phones. You will build responsive pages with Flexbox and Grid, reuse components, and fix the overlap and overflow bugs that show up after launch. If you keep stacking float hacks and random media queries, every new page will reopen the same fights.
- Responsible
- John G
- Last Update
- 08/25/2026
- Completion Time
- 1 h 40 min
- Members
- 1
Reviews
Sign in to write a reviewComments
Sign in to commentNo comments yet.