Ibnovate Course 1 · The Young Builders
⏱ 60 minLive session · ages 8–11

Session 20 — Make It Yours

Duration: 60 min · Format: live online · Ages: 8–11

Session goal: by the end, students can write simple CSS rules to change colours, fonts, backgrounds, and spacing, turning plain HTML into a page that looks like theirs.

Before class — prep (5 min)

Agenda

Time Segment
0:00 Hook — same page, new look (5 min)
0:05 Teach — what CSS is + colours and fonts (13 min)
0:18 Teach — backgrounds and spacing (12 min)
0:30 Activity — style your page in CodePen (20 min)
0:50 Check for understanding (7 min)
0:57 Wrap-up + homework (3 min)

0:00 · Hook (5 min)

Show a plain black-and-white HTML page on screen, then paste a few CSS rules and watch it burst into colour. Ask:

Let them guess, then reveal: the paint and style is called CSS, and today you'll decorate the page you built last time.


0:05 · Teach — What is CSS? Colours and fonts (13 min)

Explain, writing the key words on your shared screen:

Share this diagram so students can see how HTML gives the plain structure while CSS adds the colour, fonts, and style on top:

Side-by-side diagram: on the left, a plain black-and-white web page built from HTML showing its structure; on the right, the same page after CSS is added, now with colour, a chosen font, a background, and spacing that make it look styled

Type this together in CodePen (in the CSS box):

h1 {
  color: teal;
}

Explain each part: h1 is which tag to style, color is the property, teal is the value. The ; ends the line and { } hold the rules.

⚠ Watch for the #1 CSS mistake: forgetting the semicolon ; at the end of a line, or the curly braces { }. If nothing changes, check those first, live.

Add a font and colour for paragraphs:

h1 {
  color: teal;
}
p {
  color: darkslategray;
  font-family: Arial;
}

Ask: "What do you think changes if I write color: hotpink; instead?" (Answer: the text turns hot pink — try it live.)


0:18 · Teach — Backgrounds and spacing (12 min)

Explain: you can colour the whole page background and add space so things aren't squashed together. The body selector styles the whole page.

Type this together in CodePen:

body {
  background-color: lightyellow;
  text-align: center;
}

Point out: background-color paints behind everything; text-align: center; pulls the text to the middle.

Now add spacing so it breathes:

body {
  background-color: lightyellow;
  text-align: center;
  padding: 20px;
}
h1 {
  color: teal;
  margin-bottom: 10px;
}

Explain the two spacing words slowly:

⚠ Watch for: spelling. It's background-color (with the dash and the American spelling color), not "background colour." A tiny typo means the rule is ignored.

Ask: "What's the difference between padding and margin?" (Answer: padding is space inside the box; margin is space outside it. Take 1–2 answers.)


0:30 · Activity — Style your page (20 min)

Activity — Make It Yours (≈20 min). Students reopen the page they built in Session 19 (or paste the starter page) into a Pen and add CSS. Their styled page must include at least four of these:

  1. A text colour for the heading (color).
  2. A background colour for the page (background-color).
  3. A font for the paragraphs (font-family).
  4. Centered text somewhere (text-align: center;).
  5. Some spacing (padding or margin).

Circulate (or invite screen-shares) and help fix missing braces and semicolons.

Debrief: "Same HTML as last week, but now it looks like yours. That's the power of CSS."


0:50 · Check for understanding (7 min)

Ask these aloud or drop them in the chat. Answer key (for you):

  1. What is the job of CSS? → It controls how the page looks (colours, fonts, spacing) — the "paint," not the bricks.
  2. What is missing here: h1 { color: red } → The semicolon after red: h1 { color: red; }.
  3. What's the difference between padding and margin?padding is space inside a box; margin is space outside it, pushing other things away.

0:57 · Wrap-up + homework (3 min)


Teaching notes

.special {
  color: white;
  background-color: purple;
  padding: 10px;
}

Ask them to explain why the dot . is needed before special in the CSS (it means "the thing with this class"). Then challenge them to add a border:

.special {
  border: 3px solid gold;
}

Practice set

Assign in class or as homework. Answers are for you, after the arrow.

  1. What do the letters CSS stand for, and what is it for?Cascading Style Sheets — it controls how a web page looks.
  2. Name the three parts of this rule: p { color: blue; }Selector p, property color, value blue.
  3. Write a CSS rule that makes all <h1> headings the colour orange.h1 { color: orange; }
  4. Write a rule that gives the whole page a skyblue background.body { background-color: skyblue; }
  5. A student wrote p { color: green } and nothing happened after they added more lines. What's likely wrong? → The semicolon is missing after green: p { color: green; }.
  6. Which property adds space inside a box, and which adds space outside it?padding is inside; margin is outside.

Going deeper (optional)

Common mistakes & fixes

Vocabulary

Term Meaning
CSS The code that styles how a page looks
Rule One instruction: selector { property: value; }
Selector What you're styling, like h1 or body
Property What you're changing, like color
Value What you set it to, like teal
Background The colour or fill behind the content
Padding Space inside a box, around the content
Margin Space outside a box, pushing others away

Resources

Next session

Session 21 — Build & Share Your Site: students combine HTML and CSS into a fun multi-section page about themselves or a topic they love, then present it — the unit's build project.

Ibnovate · Build · Innovate
Type to search · Esc to close
Welcome back
Sign in to continue building.
Accounts are created by Ibnovate — ask your instructor for your login.
🔒