×

css · level 1 · unit 1 · lesson 1

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

A web page is that a turns into a page.

Every web page is a file of code: instructions written down for a computer. Your browser, the app you visit websites with, reads that code and draws the page on your screen.

A page uses two languages. is the content: the headings, words and pictures. is the look: the colours, sizes and spacing. Same words, new CSS, a whole new look.

In this course you write CSS. Here is a first taste: three lines that paint the big heading tomato red. You will learn to read every part of them two lessons from now.

<h1>Pickles the cat</h1>
<p>Pickles loves long naps.</p>
h1 {
  color: tomato;
}

Press show my page to see it here.

Press run and watch the heading change colour while the words stay exactly the same.