Challenge: Apply Your First CSS Styles
Note
All challenges include a code sample with
index.html
andindex.css
files. Since the course is focused on learning CSS, please address the challenges in theindex.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
.
index.html
index.css
Use the tag selector p
to select all paragraphs.
index.html
index.css
Tak for dine kommentarer!
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 2.5
Challenge: Apply Your First CSS Styles
Stryg for at vise menuen
Note
All challenges include a code sample with
index.html
andindex.css
files. Since the course is focused on learning CSS, please address the challenges in theindex.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
.
index.html
index.css
Use the tag selector p
to select all paragraphs.
index.html
index.css
Tak for dine kommentarer!