Editor asks for margin and min-width update

Tell us what’s happening:
editor asks for margin change to top and bottom only at 1em and min-width at 300px . Not sure if I have the syntax right . help please

Your code so far

fieldset:not(:last-of-type) {

  border-bottom: 3px solid #3b3b4f;

}

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;

  width: 60%;

  min-width: 300px;

  margin: 1em 0;

  height: 2em;

  font-size: 1.1rem;

  background-color: #3b3b4f;

  border-color: white;

}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 54

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You should use the existing margin property to include 1em on the top and bottom.

The existing margin property had an auto for left/right, you change it to 0

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