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

Course Content

CSS Fundamentals

CSS Fundamentals

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

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). Your objective is as follows:

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

html

index

css

index

js

index

copy

Use the tag selector p to select all paragraphs.

html

index

css

index

js

index

copy

Everything was clear?

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