Tell us what’s happening:
I am being told to give the label element a for attribute that links the id of the textarea element and as far as I have tried to do so.
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<div class="question-block">
<label>Do you have any questions:</label>
<input></input>
</div>
<div class="answer">
<label for="textarea">
<textarea rows="5" cols="24" id="textarea" name="textarea"></textarea>
<input></input>
</label>
</div>
<!-- User Editable Region -->
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Challenge Information:
Learn Accessibility by Building a Quiz - Step 40