Registiration Form Step 43

Step 43

The border of the last fieldset element looks a little out of place. You can select the last element of a specific type using the last-of-type CSS pseudo-class, like this:

p:last-of-type { }

That will select the last p element. Create a new selector that targets the last fieldset element and set its border-bottom to none.

I can’t do this step and i don’t know what to do?
Problem solved

As the instructions are showing you:

p:last-of-type { }

This will target the last p element in the HTML. If you want to target the last fieldset instead, what would you need to change above in order to do that?

replace “p” with “fieldset”

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