:not(:last-of-type) problem here

Tell us what’s happening:
To give the fieldset elements a bit of separation, select all but the last fieldset element, and give them a border-bottom of 3px solid #3b3b4f .

  **Your code so far**

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-type){
border-bottom:3px,solid #3b3b4f;
}

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

  **Your browser information:**

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

Challenge: Step 41

Link to the challenge:

put the word “fieldset” before the not and perhaps remove the extra period:

Moderator edited the answer.

@kravmaguy I had to edit your post because it’s showing the answer to the challenge.

but @fidelotieno11 as @kravmaguy said, you need to use the selector followed by the pseudo class.

Here are the docs for more info Pseudo-classes - CSS: Cascading Style Sheets | MD (mozilla.org)