Lesson 5 of 10

🌈 Colors, Fonts & Text

🎯 Grades 6–8 ⏱ ~30 minutes 💚 Intermediate

What You'll Learn

  • CSS color formats: named, hex, rgb(), and hsl()
  • Font properties: font-family, font-size, font-weight, line-height
  • Text decoration, alignment, and spacing
Quick Check

1. What does #ff0000 represent in CSS?

APure blue
BPure red
CPure green

2. Which property controls the space between lines of text?

Aletter-spacing
Bline-height
Ctext-spacing

3. What does font-weight: 700 produce?

AItalic text
BBold text
CSmall text

4. rgba(0, 0, 255, 0.5) would create a color that is:

ASolid blue
BSemi-transparent blue
CDark blue