Input nested in label

Step 28 in Learn HTML forms by building a registration page

q: it is asking me to nest input in a label and I am pretty sure I am doing it correctly but it is not passing the test cases, any suggestions? here’s my code

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

Ok I fixed it the issue was that there is supposed to be a space after the

" age (years) " although in the prompt it was shown without a space hopefully the developers can fix it so other people don’t get confused.
I actually might try and contribute to this since it open source although I’ve never done such thing lol.

1 Like

Thank you for the tip dude!

Just in case anybody needs further help:

InputSPACEyourSPACEageSPACE(years):SPACE

Input your age (years):

1 Like

I did the same thing but still issue is not yet resolved here. I’m attaching my code below as well. Please tell me how to resolve the issue.

Upload a profile picture: Input your age(years):

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