So I did set the left and right padding to 0 but it is not passing
Hello,
Welcome to the Forums
Can you post your code instead of a screenshot and also a link to the challenge?
Hello, yes, of course!
link: “https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-40”
code:
.fieldset {border: 0;
top-padding: 2rem;
bottom-padding: 2rem;
left-padding: 0;
right-padding: 0;}
It padding-top
padding-left
etc,
Also you can use the margin shorthand property, its more easier to type.
Example:
p{
margin: 10px auto;
}
Here 10px is for top and bottom margins
and auto is for left and right margins
You have also added an extra dot(.
) to the fieldset selector.
2 Likes
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.