Combining HTML + CSS: Coding lesson for kids

In “Combining HTML + CSS”, children learn about <p class="big">Hi</p> + .big { font-size: 30px; }.

<p class="big">Hi</p> + .big { font-size: 30px; }: The class in the HTML connects to the matching selector in the CSS — that is how a rule finds its element.

This lesson is part of HTML/CSS in Coding at Pearls Valley Academy — Build and style your first web page.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.