CHOOSE ANY STEP
FREECODECAMP / HTML / STEP 3 OF 42
freeCodeCamp: Build a Cat Photo App, Step 3
Add a paragraph
Written guidance is free. Step videos are a member benefit.
Place the exact sentence Everyone loves cute cats online, followed by an exclamation mark, between the opening and closing P tags. A paragraph holds normal text. It does not replace either heading.
ORIGINAL WALKTHROUGH · 0:54
Watch with Rob.
Watch the explanation, then apply the change and run the official checks on freeCodeCamp.
You are signed in, but video access needs attention. Check your account access. Your saved work is kept.
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 “Add a paragraph” while keeping the earlier page structure.
- Explain p and the role it plays in this change.
- Explain body and the role it plays in this change.
- Compare the expected preview with your work before running the official checks.
THE TASK
What step 3 asks you to do
- Your
pelement should have an opening tag. Opening tags have the following syntax:<elementName>. - Your
ptags should be in lowercase. By convention, all HTML tags are written in lowercase. - Your
pelement should have a closing tag. Closing tags have a/just after the<character. - Your
pelement's text should beEveryone loves cute cats online! - Your
pelement should be below theh2element. You have them in the wrong order.
Based on the official freeCodeCamp step 3 instructions (opens in a new tab).
Why this works
Step three adds a sentence below the Cat Photos heading. Keep both headings. Inside the body, just below the closing H two tag, create a P element.
What you should see in the preview
Now compare the code and preview. The H one names the page, the H two names the section, and the paragraph introduces its content. Check the capital E, spaces, exclamation mark, and closing tag. Run freeCodeCamp's checks, then continue with its next official step.
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
- p: Paragraph
- Groups a paragraph of ordinary text. Browsers usually place space above and below it.
- body: Document body
- Contains the page content shown to visitors. Keep visible headings, paragraphs, lists and media inside it.
If your check does not pass
- Your
pelement should have an opening tag. Opening tags have the following syntax:<elementName>. - Your
ptags should be in lowercase. By convention, all HTML tags are written in lowercase. - Your
pelement should have a closing tag. Closing tags have a/just after the<character. - Your
pelement's text should beEveryone loves cute cats online!
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:
- W3Schools: paragraphs (opens in a new tab)
Compare the syntax and a focused example.
- W3Schools: elements (opens in a new tab)
Compare the syntax and a focused example.
- MDN: HTML element reference (opens in a new tab)
Look up the definition, syntax and supported behavior.
What you have accomplished
The change for “Add a paragraph” 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).