Step 41 on building a registration form

Tell us what’s happening:
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;

}

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

border-bottom: 3px solid #3b3b4f;

}

label {

display: block;

margin: 0.5rem 0;

}

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Step 41

Link to the challenge:

This line needs to be assigned the element it is meant to represent. In this lesson that element is the fieldset element. Also, :not(:last-of-fieldset): is improper. An example of this is below:

div:not(:last-of-type) {
  property: value;
}

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