Skip to content
LusonaHub#527 · Mon, 09 Nov 2026, 12:48:00 GMT
Tech Academy

Lusona Tech Academy · Beginner → Intermediate

CSS — style and layout

Colours, fonts, the box model, Flexbox, Grid, responsive design, variables and animation — how modern sites look good on every screen.

6 modules · 16 hands-on lessons · 14 h · 0 XP

0%

Sign in to keep your progress on every device.

Module 1 · Selectors and colours

Rules

A CSS rule picks elements with a selector and sets properties: p { color: navy; }. Put rules in a <style> tag or a separate .css file.

Colours can be names (tomato), hex (#ff6347), rgb(255 99 71) or hsl(9 100% 64%).

Example

<style>
h1 { color: tomato; }
p { color: #555; }
</style>
<h1>Hello</h1>
<p>Styled text</p>

Your task

Make every <h1> the colour rebeccapurple.

Ctrl/⌘ + Enter
Preview

Press Run to see the result.

Loading videos from the Hub shelf…

Loading the shelf…