Registration Form - Step 44

hi. up to step 44. which i will provide. now doing the style sheet. not liking my margin-top: 10px. tried reseting the lesson a couple of times.
not sure why it is not passing. can any one help me out and take a look at my css.
what am i doing wrong?
why is it not passing.
marvin.
ps: pasting the error, then the link to the step then my css.
Sorry, your code does not pass. Hang in there.

You should set the margin-top property to 10px.

type or paste code here
type or paste code herebody {
  font-family: Tahoma;
  font-size: 16px;
    width: 100%;
    height: 100vh;
    margin: 0;
      background-color: #1b1b32; 
      color: #f5f6f7;
    }

    h1, p {
      text-align: center;
      margin: 1em auto;
    }
   
    input, textarea, select {
      display: block;
      width: 100%;
        margin-top: 10px;
margin-bottom: 0px;
      margin: 0.5rem 0;
    }

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

    fieldset {
      border: 0;
      margin-top: 3rem;
      margin-bottom: 3rem;
      padding-top: 2rem;
      padding-bottom: 2rem;
      padding-left: 0;
      padding-right: 0;
      border-bottom: 3px solid #3b3b4f;
    }

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

1 Like

Hi @BlindVisionMan

You correct set margin-top.

You correctly set margin-bottom.

You undid the above two settings when you set the margin property.
This changed the top, bottom, and left and right margins.

Happy coding

hi,so how do i fix it. do i take out the margin rem. please advice.
marvin.

hi, got it. did not put the margin left and right to 0.
did that and it passes.
sorry.
should have tried that earlier.
marvin.

1 Like