Learn HTML by building Registration form: step 30

i have tried to nest my select inside the label but it keeps giving me an error. Any thoughts on what i am doing incorrect? I have tried to do what the other answers suggested but it has not solved the error.
Here is the prompt:

# Step 30
Nest the select element within a label element with the text How did you hear about us?. The text should come before the select element.

here is 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>
        <label> How did you hear about us?
          <select>
          <option></option>
          <option></option>
          <option></option>
          <option></option>
          <option></option>
          </select>
        </label>
      </fieldset>
type or paste code here

here is the error:

Test

Sorry, your code does not pass. Hang in there.

Hint

You should place the text before the select element.

1 Like

remove space between <label> and the word How

1 Like

wow. that was it. I may jump out my window now. Thank you!

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