Learn HTML Forms by Building a Registration Form - Step 60

Please help me with step 60, I’ve gone as far as copy pasting from the help forum and still nothing ( Learn HTML Forms by Building a Registration Form )

body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
font-family: Tahoma;
font-size: 16px;
}

h1, p {
margin: 1em auto;
text-align: center;
}

form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
}

fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}

fieldset:last-of-type {
border-bottom: none;
}

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

input,
textarea,
select {
margin: 10px 0 0 0;
width: 100%;
min-height: 2em;
}

input, textarea {
background-color: #0a0a23;
border: 1px solid #0a0a23;
color: #ffffff;
}

.inline {
width: unset;
margin: 0 0.5em 0 0;
vertical-align: middle;
}

input[type=“submit”] {
display: block;
margin: 0 1em 1em 0;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;
width: 60%;

}

Pls post a link to the challenge

You have to set the top and bottom values to 1em and the left and right margin values to auto.

Example of margin property:

p{
  margin: top-value right-value bottom-value left-value;
}
1 Like

thank you that helped!

1 Like

don’t forget to mark this topic as solved by clicking Solution on the post that help you to solve it.
thanks.

the solution doesn’t work

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.