Learn HTML Forms by Building a Registration Form: Step 35

Tengo problemas con el Step 35 del form:

Consigna:
Step 35
Nest the select element (with its option elements) within a label element with the text How did you hear about us?. The text should come before the select element.

Código:

<fieldset>
    <label>Upload a profile picture: <input type="file" /></label>
  <label>Input your age (years): <input type="number" min="13" max="120" /></label>
  <label for="how-heard">How did you hear about us?</label>
    <select id="how-heard">
      <option value="option1">Option 1</option>
      <option value="option2">Option 2</option>
      <option value="option3">Option 3</option>
      <option value="option4">Option 4</option>
      <option value="option5">Option 5</option>
    </select>
</fieldset>

Error:
Sorry, your code does not pass. Don’t give up.

You should nest only the select element within a label element.

Bienvenido al foro @Nannys

Ingresaste un código que no se solicita en las instrucciones.

Restablezca el paso para restaurar el código original.

Luego coloque la etiqueta de cierre "label" después del elemento "select".

Feliz codificación

1 Like

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