Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

I’m having problems with this step as I’ve added the id to the select element but the code checker says I didn’t add any… Any useful information that I may be missing?

Problem:

Test

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

Hint

You should give the select element an id attribute.

My code so far

            <div class="question-block">
              <label for="q3">Are you a frontend developer?</label>
            </div>
            <div for="answer">
              <select id="q3" required>
                <option value="">Select an option</option>
                <option value="yes">Yes</option>
                <option value="no">No</option>
              </select>
            </div>

Your browser information:

User Agent is: Chrome/105.0.0.0

Challenge: Learn Accessibility by Building a Quiz - Step 37

Link to the challenge:

At this step your select element supposed to have 3 attribute including additional of id attribute.
Try restart the step, you are missing your original code. the element for label is correct to link the label and select.

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