How do i get pass the puesdo-class

Tell us what’s happening:

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.1; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Step 41

Link to the challenge:

HI @kingsleychijioke5566 !

Can you provide your code so we can assist you?

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

:not(:last-of-type) {
   border-bottom: 3px solid #3d3d4f;
}

This was my code but its not going through please what should i do?

You need to make sure to have the fieldset selector here

Otherwise the computer will not know what you are referring to

Also, you need to use the correct hex code here

reread the hint again for the correct code
Hint

You should give the fieldset elements a border-bottom of 3px solid #3b3b4f .

i was asked to use the :not(:last-of-type) puesdo-class to select all but the last element.

Yes, the directions say to select all but the last fieldset element
You have to specify the fieldset element before the pseudo selector for it to work properly.

Here is a good example, from MDN docs

Hopefully that clears it up

Tell us what’s happening:

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.1; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Step 41

Link to the challenge:

Can you post your code, can’t help you. without the code.

It also helps if you can describe your issue in the Tell us what’s happening: section.

The :not(:last-of-type) has the following format:

cssSelector:not(:last-of-type){
   ...... : ....;
}

The :not(:last-of-type) is used to select everything but the last of the selected elements.

Example:

p:not(:last-of-type){
   color:white;
}

thank you very much just passed the challenge.