(New) Responsive Web Design: Learn HTML Forms by Building a Registration Form Step 45

I am having trouble trying to figure out what I am doing wrong. The instruction said:

During development, it is useful to see the fieldset default borders. However, they make the content appear too separated.

Remove the border, and add 2rem of padding only to the top and bottom of each fieldset. Be sure to remove the padding from the left and right.

So I encoded:
padding: 2em 0;
border: 0;

However, the feedback it gave me was:


Sorry, your code does not pass. Keep trying.


You should add padding of 2rem to the top and bottom of each fieldset.

Please see attached image for a more vivid view. I would be grateful and much appreciated if anyone could assist me with this problem. (Already tried asking ChatGPT even the AI was confused).

Welcome to our community!

Post the entire code here. Use </> in your editor to format code properly.

Thank you! Glad to be part of the community. I solved the issue and I overlooked and encode 2em for the padding instead of the 2rem. Although there was no assistance yet I am thankful for the response!


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