Stuck on Registration form steps 15 and 40

In the Registration form project I seem to have a bug on 2 steps.

-First one :

Step 15

Nest an input element within each label . Be sure to add each input after the label text, and include a space after the colon.

    <label>Enter Your First Name: <input /></label>

    <label>Enter Your Last Name: <input /></label>

    <label>Enter Your Email: <input /></label>

    <label>Create a New Password: <input /></label>

  </fieldset></code> 

The hint being : Hint

You should add the third input after the label text Enter Your Email: , and include a space after the colon…
NO matter how many spaces I put between the “:” and the input , it does not work. The strange part is that it works for the other lines.

-Second one:
Step 40
Remove the border , and add 2rem of padding only to the top and bottom of each fieldset . Be sure to remove the padding from the left and right.
I do it with :
fielset {
border: none ;
padding: 2rem 0;
}

which should work if I’m reading the hint correctly: Hint

You can use either a value of none or 0 to remove the border .
I tried with 0 and none, I can’t pass the step the normal way.

Am I missing something ?

The step 15 should be correct, as least I have the same code with you and correct.
Step 40 would be spelling mistake,

Ok, at least I know my step 15 seems to be right although not correct. I tried to write it again completely but it does not seem to detect my third input.

When I put a wrong spacing around the first two input, it’s seen as a mistake but the third one is always wrong no matter how I code it.

I rewrote the entire step 40 and it passed, so thanks for your hint ^^

Hey,

You shouldn’t use trailing / in input tag element. It should look like as follow and your code shall pass. Though using trailing slash is optional and shouldn’t impact the result, this step in freedcodecamp actually affects it. So just remove the trailing slash /

You code should look like:

<label> Enter Your First Name: <input></label>

Mind the space after colon.

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