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.
Your feedback
Did the heading colour change? Try changing the background too, then move on to spacing.
Next: Spacing and bordersI need help
Write the colour after the colon. Keep the semicolon and braces. If the heading does not change, check that color is inside the h1 rule.
Save the page to your computer
If the download does not start, copy the complete code below into a text file named index.html and save it as UTF-8.