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 theselect
element within alabel
element with the textHow did you hear about us?
. The text should come before theselect
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.