BananaMaster

4 How to Use CSS in HTML: Step-by-Step Guide (HTML and CSS, Front End)

If you forgot something, click to go to the lesson

📘 Practical CSS Styling Tasks

For each task create a separate class in style.css and apply it to the correct HTML tag.

📌 File structure: index.html + style.css

✏️ Task 1

Recreate the style of this text:

Hello World

✏️ Task 2

Recreate the style of this text:

My Name

✏️ Task 3

Recreate the style of this text:

I love coding

✏️ Task 4

Recreate the style of this text:

Frontend Developer

✏️ Task 5

Recreate the style of this text:

CSS is cool

✏️ Task 6

Recreate the style of this text:

JavaScript

✏️ Task 7

Recreate the style of this text:

Rockstar Games

✏️ Task 8

Recreate the style of this text:

Small and light

✏️ Task 9

Recreate the style of this text:

GTA 6 is coming

✏️ Task 10 — 🔥 Bonus

Create your own! Create a class .my-style and apply it to any tag.

Text

📌 Important:
Each class is written separately in style.css.
Use HTML and CSS only.
JavaScript is not needed.
Practice the properties: color, font-size, font-weight, font-family.