HTML form building step 28

 <fieldset>
        <label>Upload a profile picture: <input type="file" /></label>
        <label> Input you age(years): <input type="number" min="13" max="120"/></label>
      </fieldset>

the requirement is:
Add another label after the first, with the text Input your age (years): . Then, nest an input with the type of number.
As we do not want users under the age of 13 to register, add a min attribute to the input with a value of 13. Also, we can probably assume users over the age of 120 will not register; add a max attribute with a value of 120.

Hi @ varshine.dreamgirl, and welcome to the forums!

I think your code just has a small typo and spacing problem.

The instructions are asking for the following label text:

Input your age (years):

Your code has:

Input you age(years):

And it looks as if your text also has a space before the actual text.

I’d try just copying and pasting the label text from the instructions.
Once your label text exactly matches the instructions, you should be able to pass the tests.

1 Like

FreeCodeCamp “Code testing” is very “Case-sensitive”. If they ask for a label with text of “Form” and you wrote “form”, it will be as a wrong “code check”.

In your case, as @KittyMac said perfectly, there are typo \ spacing problem.

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