Registration Form Lesson 40

Having trouble with this one.
The directions are:
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.
My code is removing the borders but it won’t let me pass.

My code:

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

Challenge: Step 40

Link to the challenge:

there is difference between padding of 0 and padding of none

You should not have a border at all

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.

You should have two properties, on for the border and one for the padding.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

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