Label and select tag

Hey Guys this is my code in the Responsive Web Design course but i cant go to the next step it shows me up this message : " You should place the text before the select element".

<label>
        How did you hear about us?
        <select>
            <option></option>
            <option></option>
            <option></option>
            <option></option>
            <option></option>
        </select>
    </label>

is there anything wrong?

Would you give us a link to the step? Or tell us which course and step this is?

I did it this way.

Learn HTML Forms by Building a Registration Form - Step 30:

<label>How did you hear about us?
  <select>
    <option></option>
    <option></option>
    <option></option>
    <option></option>
    <option></option>
  </select>
</label>

Your code passes for me. Are you certain you didn’t accidentally make some other change that is causing the test to fail? Also, what browser are you using? I know Safari has had issues with some of these steps. If you are using Safari you might try a different browser.

It worked thank you so much!

1 Like

problem solved thanks :raised_hands:

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