A new park opens by the river
The city opened a new park by the river on Saturday. It has 300 new trees, a playground and a long path for walks and bikes.
The park is open every day from 7 in the morning. See the opening hours
Part 3 · Code and data
What a web page is made of.
Every web page is HTML and CSS. HTML says what is on the page: a title, a paragraph, a link, a picture. CSS says how it looks: colors, fonts, spacing, and the layout on a phone. The server sends both to your browser, and your browser paints the page.
A short news article. Try these steps:
The city opened a new park by the river on Saturday. It has 300 new trees, a playground and a long path for walks and bikes.
The park is open every day from 7 in the morning. See the opening hours
Tap a tag to light up its part of the page.
article p { font-size: 16px; }
article h1 { color: #1c2130; }
Try it on any site: right-click, then Inspect.
Ask: “Is this a frontend change or a backend change?” A wrong color or a small text is usually CSS: a quick fix. A wrong price or a missing email comes from the backend, and it can take longer.
One visit to a website, in 8 steps. The lit steps are where HTML and CSS work.
The request goes out
The answer comes back
The server's answer is HTML and CSS. Your browser reads them and paints the page on your screen.