CLARIFICATION on Step 48 Learing HTML Forms by Building a Registration Form

I think I understand what’s being asked…

The border of the last fieldset element looks a little out of place. You can select the last element of a specific type using the last-of-type CSS pseudo-class, like this:

p:last-of-type { }

That will select the last p element. Create a new selector that targets the last fieldset element and set its border-bottom to none.

So I have tried the following without success:

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

I’ve also tried the following without success:

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

Im confused because I believe that to be correct.

can you provide a link to the challenge

Hi there and welcome to our community!

As @Cody_Biggs says, it’s helpful if you can provide a direct link to the challenge.
For future reference, the easiest way to do this is to click the Help button, which appears after you have submitted incorrect code three times.
This will create a forum post which includes your full code, a direct link to the challenge and an opportunity for you to describe your issue in detail.

I have edited your post to include the direct link.
There is nothing wrong with the code which you have added, but you may have lost a closing curly bracket from a previous selector or have an error elsewhere in your code.

1 Like

Learn HTML Forms by Building a Registration Form: Step 48 | freeCodeCamp.org

hopefully that works

Wrong link, that link brings everyone to his own profile curriculum. You need to press help button you have below the challenge editor after submit code button. That way you can make correct post to the forum.
@HaySmittyCodes

That link works fine. Your code should be passing. Can you paste your entire code not just the few lines so we can see if something else is going on

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 (').

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