Learn Accessibility by Building a Quiz - Step 40

Tell us what’s happening:

Can you please help me to solve this step…Error

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">
              <textarea rows="5" cols="24" id="textarea"></textarea><label for="textarea"></label>
              <input>
            </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/131.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 40

I can see you added a new label element. You don’t have to do this. All they’re wanting you to do is modify the existing label element.

Reset your code and modify the label element inside the .question-block as they instruct you. Don’t forget the name attribute!

Happy coding!

1 Like