Stuck on Step 42 of Registration form

Step 42

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 have no idea here

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like


I don’t know if you need help still or so but if you do.

The following code is an example given by freeCodeCamp, they want you to substitute the p for whatever new selector that will target the said element.

p:last-of-type { }

Hopefully that helps without giving too much away. I too was struggling with that and figured it out.


hi. the solution is


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

ok. i understand. thank you