CSS Selectors

August 25, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which of the following is a valid selector?

#2 How to select the first image inside a div?

#3 Which of the following is equivalent to .box ?

#4 How to target the content of the first line inside a div?

#5 Which of the following is an invalid Pseudo-class?

#6 Which selector has the lowest specificity?

#7 Which selector has the lowest specificity?

#8 How to select the “before the last” image inside a div?

#9 The * [asterisk symbol] is called

#10 We can group different selectors using

#11 Which of the following is a valid selector?

#12 How to select all the images?

#13 Which selector has the highest specificity?

#14 The ::before is called

#15 How to target the content of the last line inside a div?

I am done

Your Result

-

I am sure you will do better next time