CSS · Lesson 1 of 4

Change your heading colour

HTML gives your page content. CSS changes its appearance. Here h1 selects the heading, and color sets its text colour.

Your task

Change seagreen to purple, then run the code. Try another heading colour.

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

The image stays in your browser. Choose it, then use its filename when you add the image to your code.

Edit your project HTML

Your page

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

Did the heading colour change? Try changing the background too, then move on to spacing.

Next: Spacing and borders