Skip to content

Lesson 3 of 4 · 6 min

Colours and fonts with CSS

CSS controls how a page looks. Inside a <style> tag you choose an element and set properties like color and font-size.

Try colour names like tomato, teal or gold, or codes like #5b3df5.

Your turn: Make the heading tomato red and the background lightyellow.

Code editor

Live preview