Relentless Feather Unit 3 ยท Read All About It Stage 5 of 7

Unit 3 ยท Stage 5

Article Images and Text

Each story card now has a photo at the top. You will size the photos and style the headlines and body text so every card reads clean and clear. (pause on a highlighted word to see what it does)

1 Size the story photos

We added an <img> to the top of each story. Give them all one even size so the cards line up.

What this code means
width and height
100% wide and a fixed 180px tall makes every card photo the same size.
object-fit
cover fills that space and crops the extra, the same trick you used on the hero.
display
block removes the small gap under the image.
Native youth in tech: a photo makes a story real. Later you can put pictures of the people and places your articles are actually about.

2 Style the headline and text

Set the story heading and paragraph so they sit neatly inside the card with comfortable spacing.

What this code means
margin
Space around the heading and text so they do not touch the card edges. 16px 16px 8px sets top, sides, and bottom.
line-height
1.6 opens up the paragraph so it is easy to read.
color
A softer gray for the body text, easier on the eyes than pure black.
๐ŸŽฎ Try it: add .story img (width: 100%;, height: 180px;, object-fit: cover;, display: block;), .story h3 (font-size: 20px;, margin: 16px 16px 8px;), and .story p (margin: 0 16px 16px;, line-height: 1.6;, color: #444444;) then press โ–ถ Run.

๐Ÿค” Quick check before you go on

What property sets the space between lines of text for easy reading? Type it, then press Submit to unlock the last step.

3 Make it yours

These are placeholder photos and sample stories. When you are ready, swap in real headlines and photos about your own community.

๐ŸŽจ Try it later: rewrite a headline and paragraph with real news from your Nation, change the photo web address, and press Run.

โœ“ Finish this stage

To complete Stage 5, style your .story img and give your paragraphs a line-height. Press Check my work when you are ready. This opens Stage 6 and lets your teacher see that you finished.

YOUR CODE
PREVIEW
Code Glossary
๐ŸŽฏ Your goal for this stage