Learn HTML Forms by Building a Registration Form - Step 60

HELP I am stuck on step60 it says

Step 60

Lastly, for the submit button, you want to separate it from the fieldset above, and adjust its width to never be below 300px.

“Change the margin property to include 1em on the top and bottom, while leaving the right and left margins set to auto. Then set the width as described above.” this is my code so far:

input[type=“submit”] {

display: block;

width: 60%;

min-width: 300px;

margin-top: 1em;

margin-bottom: 1em;

margin-right: auto;

margin-left: auto;

height: 2em;

font-size: 1.1rem;

background-color: #3b3b4f;

border-color: white;

}

Welcome to our community!

I’ve edited your code 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 (').

P.S.
Post a link to the challenge.

You seem to have the wrong type of quotes for the attribute selector. Because that is the only thing I can find that would fail the test.

The type of quotes should be normal double "" or single '' quotes and not “”

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