Can't solve step 41 on building a registration form challenge

Tell us what’s happening:

Step 41

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
:not(last-of-type) {
border-bottom: 3px solid #3b3b4f;
}
2022-05-24T23:00:00Z2022-05-25T14:31:00Z
Your browser information:

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

Challenge: Step 41

Link to the challenge:

You need to specify which type of element you want this selector to apply to.
For this exercise, that would be the fieldset element type.

There are some examples here (MDN docs).

Also, there’s a missing colon in your :last-of-type selector.

1 Like

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