CSS · Lesson 3 of 4

Put your interests in a row

display: flex arranges the list items in a row. gap separates them, and flex-wrap lets them move to another line when space is short.

Your task

Change gap from 12px to 24px. Add flex-direction: column inside the rule to make a column, then remove it.

Each new lesson builds on your personal page. Your saved lesson draft opens when you return.

The image stays in your browser. Choose it before running; its filename replaces the example filename.

Edit your project HTML

Your page

Checks use your current code. Try the page yourself too.

Can you switch between a row and a column? Bring these ideas together to style your page.

Next: Project: style your page