You should nest a textarea element within the label. WIth the text Provide a Bio

The textarea element acts like an input element of type text, but comes with the added benefit of being able to receive multi-line text, and an initial number of text rows and columns.

Users will be able to register with a bio. Add a label with the text Provide a bio: at the end of the fieldset. Add a textarea element inside the label element. Note that the textarea requires a closing tag.

I created the follwoing:

<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 value="">(select one)</option>
      <option value="1">freeCodeCamp News</option>
      <option value="2">freeCodeCamp YouTube Channel</option>
      <option value="3">freeCodeCamp Forum</option>
      <option value="4">Other</option>
    </select>
  </label>
  
  <label for="bio">Provide a bio: <textarea id="bio" name="bio"></textarea></label>
  
  </textarea>
</fieldset>

But it is not accepting it and keeps saying:

Sorry, your code does not pass. You’re getting there.

You should give the textarea element opening and closing tags.

As far as I can see I have added opening and clsoing tags. So what am I doing wrong?

  <label for="bio">Provide a bio: <textarea id="bio" name="bio"></textarea></label>

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 (').

please provide a link to the challenge you are working on so we can help you

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