Learn HTML Forms by Building a Registration Form - Step 45

Hi!
could you tell me,please, where is a mistake?
"You should add padding of 2rem to the top and bottom of each fieldset ".

fieldset {padding-top: 2rem;
padding-bottom: 2rem;
padding: 0rem ;
border: 0;
padding-left: 0;
padding-right: 0;
}

/* User Editable Region */


label {
  display: block;
  margin: 0.5rem 0;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

Remember, order in CSS matters. What does padding: 0rem do? How will that affect the two properties above it?

1 Like

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