Learn Accessibility by Building a Quiz - Step 40

**The step is to a “As with the other input and label elements, link the textarea to its corresponding label element, and give it a name attribute.” and i think Ive done that but the feedback keeps telling me to add a for attribute to the label element, please help **

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

 <label for="questions" for="textarea" name="questions">
              <textarea rows="5" cols="24" placeholder="Who is flexbox..." for="long-answer" name="questions"></textarea></label>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 40

Link to the challenge:

With the code you provided you put your text area inside of your label. The text area beginning tag should be starting after your closing label tag

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