Learn HTML Forms by Building a Registration Form - Step 46

Challenge: Learn HTML Forms by Building a Registration Form - Step 46:
How to use “:last-of-type” pseudo-class?

Link to the challenge:

Help please!
Learn HTML Forms by Building a Registration Form - Step 46.

We are unable to see your code, please edit your post and attach your code into the post

This exercise shows the following new selector:

p:last-of-type { }

We are told that this selector will find the last element which is of type p.

Then we are asked to create a similar selector for fieldset elements.
So just replace the p with the word fieldset.

Then in the curly braces, add the style the exercise needs.

8 Likes

thanks a lot! i got it!

Thank you, this was helpful.

2 Likes

I feel like I’m just copying when I come for help. Best would likely be the design of education that was clear and didn’t leave guesswork and misinterpretation as what feels like a purposeful part of the instruction. Maybe that’s by design, as the life career of a coder will encompass much of the same, but it would be great to not be confused while trying to solidify the basics.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.