CSS Selectors

August 25, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which selector has the highest specificity?

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

#3 Which of the following is an invalid selector?

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

#5 The > [greater-than symbol] is called

#6 We can group different selectors using

#7 The ~ [tilde symbol] is called

#8 The * [asterisk symbol] is called

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

#10 Which selector has the lowest specificity?

#11 How to select a div with no content?

#12 Which selector has the lowest specificity?

#13 Which of the following is a valid Pseudo-class?

#14 The ::before is called

#15 Which of the following is a valid selector?

I am done

Your Result

-

I am sure you will do better next time