CSS Selectors and Specificity Challenges

Solve some challenges related to selectors and their specificity to evaluate yourself in this lesson.

We'll cover the following

Challenge 1

You will need to add CSS combinators in the given HTML so that the output looks like this (tricky part: HTML is in a read-only state):

The colors used are yellow, black, and orange. The border and padding are 10px and 30px.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.