thecodezone.
The Code Zone
Short steps, at your pace · Free lessons and practice · Member video walkthroughs
Save your next small win.

Checking your account…

Workshop overview

CHOOSE ANY STEP

FREECODECAMP / HTML / STEP 21 OF 42

freeCodeCamp: Build a Cat Photo App, Step 21

Introduce a smaller subsection

Written guidance is free. Step videos are a member benefit.

Inside the second section, create a level three heading element below Cat Lists. Put it before the section's closing tag. Between its opening and closing tags, type Things cats love, with a capital T and a colon at the end. Keep the level two Cat Lists heading above it.

ORIGINAL WALKTHROUGH · 1:02

Watch with Rob.

Watch the explanation, then apply the change and run the official checks on freeCodeCamp.

LEARN WITH THE CODE ZONE

Unlock this video walkthrough

Written lessons and coding practice are free. Video walkthroughs are included with a paid Code Zone membership or an active free trial.

Have a Code Zone website account? Use your learning account’s email to get a six-digit sign-in code, or use your existing website password.

Need a website account? Paid Skool members and active trial members can use the email from their membership questions to request a sign-in code. No invite link or Skool password needed.

Close this window to keep practicing. After signing in, you’ll return to this lesson.

Video walkthroughs are included with an active Code Zone membership. The written lesson and practice are free.

Your goals for this step

  • Apply the requirements for “Introduce a smaller subsection” while keeping the earlier page structure.
  • Explain h3 and the role it plays in this change.
  • Compare the expected preview with your work before running the official checks.

THE TASK

What step 21 asks you to do

  • The second section element appears to be missing or does not have both an opening and closing tag.
  • There should be an h3 element right above the second section element's closing tag.
  • Your h3 element should have a closing tag. Closing tags have a / just after the < character.
  • The h3 element right above the second section element's closing tag should have the text Things cats love:. Make sure to include the colon at the end of the text.
  • There should be an h2 element with the text Cat Lists above the last h3 element that is nested in the last section element'. You may have accidentally deleted the h2 element.

Based on the official freeCodeCamp step 21 instructions (opens in a new tab).

Why this works

In this step of freeCodeCamp's Cat Photo App, we're adding a smaller heading inside Cat Lists. Step twenty one asks for the words Things cats love, followed by a colon. Find the level two heading in the second section. Our new heading goes immediately below it.

What you should see in the preview

The preview now shows Things cats love as a smaller heading under Cat Lists. Level three introduces a subsection within that level two group. Choose heading levels for the content structure, rather than just the size of the text. The list items come later.

Illustrative browser result. External embeds, navigation and form submission are disabled here. Open freeCodeCamp to test the real behavior. Drag the lower-right corner to make this preview taller.

Terms to know

h3: Level-three heading
Introduces a subsection beneath a level-two heading. Default browser styling is usually smaller than h2.

If your check does not pass

  • The second section element appears to be missing or does not have both an opening and closing tag.
  • There should be an h3 element right above the second section element's closing tag.
  • Your h3 element should have a closing tag. Closing tags have a / just after the < character.
  • The h3 element right above the second section element's closing tag should have the text Things cats love:. Make sure to include the colon at the end of the text.

Use the preview to inspect the structure, then run the checks on freeCodeCamp. Watching here does not submit code or mark an official step complete.

Know where to find it

You do not have to memorize every element or CSS property. Keep useful references nearby:

What you have accomplished

The change for “Introduce a smaller subsection” is ready to try. Return to freeCodeCamp, compare your result with the requirements, and run its checks. Your official progress stays there.

Independent guidance from The Code Zone, not affiliated with or endorsed by freeCodeCamp. Complete official work and certification requirements on freeCodeCamp. Curriculum checked November 15, 2026. Curriculum source (opens in a new tab).