Login/Register to keep track of your score.
#1 Which selector has the highest specificity?
img + img + img
div > img.box
#2 Which selector has the highest specificity?
div:nth-child(3n + 2)
#3 Which selector has the lowest specificity?
div:nth-of-type(3n + 2)
div > *:last-child
div > *:not(div)
#4 Which of the following will select nothing?
*:nth-last-child(n + 2):nth-child(n)
#5 Which of the following is an invalid selector?
#6 How to select all the images?
#7 Which of the following is an invalid selector?
* * *
* * + *
* + :first-child
#8 Which of the following will select all the elements?
* > *
#9 How to select the “before the last” image inside a div?
div img:nth-child(n - 1)
#10 The ::before is called
#11 Which selector has the lowest specificity?
#12 Which of the following is equivalent to .box ?
#13 How to select the first image inside a div?
#14 The + [plus symbol] is called
#15 Which of the following is a valid selector?
I am sure you will do better next time