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
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 2.5
Challenge: Style with Class Selectors
Deslize para mostrar o menu
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
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5