Sir, I've solved all the rest of the problems, but I don't know how to solve these two problems using two choices
fast-frontend css game selector match
Hello Kyungjae! - ^
Let me answer your question.
Question 19 is to select a moving <bento />
element using the :nth-last-child(n)
selector. The key to this problem is how many nth-child positions the parent element has from the last of its children.
The moving <bento />
element is the third positioned element of the parent, and the selector can write:
bento:nth-last-child(3)
.
Question 20 is to select the moving <apple/>
element using the :first-of-type
selector. The key to this problem is to find the first element of the same element (of-type).
The moving <apple />
element is the first of the apple elements. The selection code for finding the destination is as follows:
apple:first-of-type
.
Thank you for your kind reply, teacher!
© 2024 OneMinuteCode. All rights reserved.