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

getting error while typing 1em 0 1em 0 in margin property. what should I code???

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

}

Please provide your full code and a link to the challenge. Thanks


If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It 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.

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

}

Try this: :slight_smile:

Mod Edit: SOLUTION REDACTED

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.