Learn HTML Forms by Building a Registration Form - Step 46

Tell us what’s happening:
Describe your issue in detail here.
HELLLLLP!!! :sweat_smile:

Step 46

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.

  **Your code so far**

:fieldset { border-bottom: none; }

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0

Challenge: Learn HTML Forms by Building a Registration Form - Step 46

Link to the challenge:

The good news is, the border-bottom style is good.
Bad news is, the selector is very wrong.

Notice that in the example given to you, a colon : is used on the right-hand-side of the p. How about in your code?

And notice that after the colon in the example, the words last-of-type are given. How about in yours?

Try copying the example in these two respects…

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