PRACTICE SOMETHING YOU CAN USE

Free HTML and CSS Practice Exercises for Beginners

Make a small event card in two steps: build its structure with HTML, then practice a focused CSS rule. These tasks are designed for a first project, with downloadable starters, hints and worked solutions.

2 activitiesFree · No signupHints and worked solutions

Give the content a structure

The HTML exercise asks for one h1 heading, a non-empty paragraph and a Register link with the specified destination. A heading describes the page, a paragraph gives context and an anchor with href defines a link.

Give the card a consistent style

The CSS exercise uses a .card selector and asks for a background color, padding and rounded corners. Padding adds space inside the card; border-radius changes its corners. Follow the exact values in the brief so the focused checker can recognize your result.

What the feedback means

HTML is checked as document structure and CSS as the requested declarations. Your code is not executed or applied to DigiSkill. To experiment with the files in your own editor, download the starters and use the worked explanation to understand each line.

A SMALL FIRST BUILD

Content first, style second.

<h1>Campus Design Jam</h1>
<p>A hands-on meetup for students.</p>
<a href="https://events.example/register">Register</a>

The heading names the event, the paragraph describes it and the link has a destination. The .example address is fictional. In the next exercise, practice a .card rule with the requested padding, background and corner radius.

Follow the two-activity web starter path

CHOOSE YOUR NEXT SMALL WIN

2 hands-on activities to try

Before you start

Is the practice free?

Yes. The activities, hints, solutions and starter files on this page are free and do not require an account.

Where is my progress saved?

Completed and saved tasks stay in this browser. They do not sync across devices.

Can I download the activities?

Yes. Open an activity for its worksheet or starter download, or get the digital skills ZIP starter pack.

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Manage saved progress

This removes your completed-challenge history from this browser.