Step 34 html forms building reg form

its telling me to nest a select into the label

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

          <option></option>
          <option></option>
          <option></option>
          <option></option>
          <option></option>

        </select> 
        </label>
        
      </fieldset>

how is this wrong?

Please post a link to the step. Thanks


I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

im stomped lol how can this be wrong

Please post a link to the step.

This is the starting code:

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

You should not remove any code that was already there.

thats all there.

Please post your actual code instead of a picture of your computer.

     <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>

You made changes outside of just adding the labels - I would reset the code and only add the label tags and label text.

reset the whole lesson?

Use this button:
image

gotcha will try that

that worked thank you

1 Like

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