Font Family
Serif headings can feel more editorial
The body keeps a sans-serif font while the heading changes tone with a serif family.
Week 8 Main Demo
Use this page from top to bottom in class. Each section highlights a different CSS group, and students can type the HTML first, then add the CSS rules in the same order.
Start from the first sectionTeaching Order
body, .page, section cardsTypography Lab
This paragraph demonstrates readable body text with balanced font-size and line-height. Students should see how calm typography already improves the page.
Font Family
The body keeps a sans-serif font while the heading changes tone with a serif family.
Weight and Style
Bold text creates emphasis and italic text adds a softer voice.
Too much bold weakens hierarchy.
Spacing and Alignment
UPPERCASE LABEL WITH LETTER SPACING
Word spacing can create a lighter reading rhythm in short lines.
Centered text works better for short content, not long paragraphs.
Color Lab
HEX
Useful for many beginner projects because it is short and common.
RGB
Helpful when showing exact red, green, and blue channel values.
HSL
Useful when you want to talk about hue, saturation, and lightness.
Contrast and Hierarchy
Strong contrast should come first. The paragraph uses a softer color, the metadata stays muted, and the link still stands out clearly.
Readable action linkBackground Lab
Background Color
Use a lighter section background when you want to separate one block from another.
Background Image
This box uses a repeating SVG pattern with controlled size and center focus.
Gradient
Use a simple two-color gradient when you want a stronger hero or callout area.
Final Combined Demo
Front-end Lab
This article card mixes serif headings, muted metadata, comfortable paragraph spacing, a calm card background, and a clear action link.
Continue readingGuest Speaker
Warm colors can still look professional when the page keeps strong contrast, consistent spacing, and disciplined typography.
View session notes