Learn css colors by building a set of colored markers step-78

I need help to identify what selctor to use i have tried add them individually like the following .cap{

also tried this way I have been coding for 3hours now so maybe I just miss an error


Please link to the lesson in question in the topic post (not in the post title) and show your full code.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Next time, if you press the ‘ask for help’ button on the lesson page it will automatically show all your code and link to the lesson in question.

you can use multiple selectors in one selector. You just have to seperate them using , commas.

div, a {
  color: blue

This will set both all div elements and all anchor elements to have white font color.

Hope this helps.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.