Skip to main content
๐ŸŽจ CSS Basics

Font size ๐Ÿ” 

The font-size property controls how big text is. Sizes are usually in pixels (px) โ€” a pixel is one tiny dot on the screen.

p { font-size: 18px; }

Read it as: "For every p, set the font-size to 18 pixels." Same four parts as always โ€” only the property and value changed.

Your task

Give the <p> a font-size of 24px. Drag the blocks in, or type the line yourself.

๐Ÿ’ก Don't forget the px โ€” the number needs its unit, like 24px.

โšก 20 XP

Hints

index.htmliframe
Loading editorโ€ฆ
Preview
Run your code to see test results.