Challenge: Style with Class Selectors
Task
The website provides brief information about the planets. The task is:
- Select all elements with the
text
class name and apply thecolor
property with the valuebrown
. - Select all elements with the
sub-text
class name and apply thecolor
property with the valuegrey
.
index.html
index.css
Use .
and its class name (e.g., .text
) to select an element by its class name.
index.html
index.css
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 2.5
Challenge: Style with Class Selectors
Veeg om het menu te tonen
Task
The website provides brief information about the planets. The task is:
- Select all elements with the
text
class name and apply thecolor
property with the valuebrown
. - Select all elements with the
sub-text
class name and apply thecolor
property with the valuegrey
.
index.html
index.css
Use .
and its class name (e.g., .text
) to select an element by its class name.
index.html
index.css
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5