Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Apply Your First CSS Styles | Getting Started with CSS
CSS Fundamentals
course content

Course Content

CSS Fundamentals

CSS Fundamentals

1. Getting Started with CSS
2. Styling Text in CSS
3. The CSS Box Model & Spacing Elements
4. Mastering Flexbox for Layouts
5. Adding Decorative Effects with CSS

book
Challenge: Apply Your First CSS 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

Everything was clear?

How can we improve it?

Thanks for your feedback!

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