Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Add Your First Styles | Introduction to CSS
CSS Fundamentals
course content

Kursinhalt

CSS Fundamentals

CSS Fundamentals

1. Introduction to CSS
2. Text Styles
3. Box Model and Layout
4. Flexbox
5. Decorative Effects

book
Challenge: Add Your First Styles

Note

All challenges include a code sample with index.html and index.css files. Since the course is focused on learning CSS, please address the challenges in the index.css file. After completing a challenge, click the "Run Code" button to view the live page and ensure the challenge was solved correctly.

Additionally, each challenge provides "Hint" and "Solution" buttons. Clicking the "Hint" button will display hints for the current task, while the "Solution" button will reveal the code sample with the correct application of CSS.

Task

We have a website with two sections, each containing a heading (h2 element) and a description (p element).

Select all paragraphs (p elements) on the website and apply the color property with the value orange.

html

index.html

css

index.css

copy

Use the tag selector p to select all paragraphs.

html

index.html

css

index.css

copy

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 4
We're sorry to hear that something went wrong. What happened?
some-alt