Https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-40 Build That Registration Form

Tell us what’s happening: alright this border/padding CSS situation is becoming annoying. I have changed browsers and started my coding to describe the removal of the border and the hint keeps repeating what I’ve already done. I need some advice please…

.fieldset {
border: none;
padding-top: 2rem;
padding-bottom: 2rem;
}


WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Step 40

Link to the challenge:

fieldset is not a class selector. I think you know what to do now. Let me know if this hint doesn’t help you.

Thank you, I’m definitely working on realizing when I need to add the period before the selector or not. I’ll revisit that lesson as well. I corrected that, now its saying I need to remove the padding from the left & right in the hint…

Here’s what I did so far:

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

none doesn’t work for padding. you need to give the numeric value for it. They said to remove the padding altogether which means we need to set it to zero. Let me know if it helps.

2 Likes

Thank you, it worked. However, I still don’t really understand why ‘0’ & ‘none’ aren’t interchangeable. I must have misunderstood the tutorial. I’ll check back on it again

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