Tell us what’s happening:
when i used the same name for the label and id but its showing as
You should give the label element a for attribute matching the id of the textarea element.this is my code
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<div class="question-block">
<label>Do you have any questions:</label>
</div>
<div class="answer">
<label for="text"></label>
<textarea rows="5" cols="24" id="text" name="text"></textarea>
</div>
<!-- User Editable Region -->
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Challenge Information:
Learn Accessibility by Building a Quiz - Step 40