Learn Accessibility by Building a Quiz - Step 37

Learn Accessibility by Building a Quiz - Step 37.
What am I doing wrong here? :

Test

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

Hint

You should give the first option element a text content of Select an option.

Step 37

Within the first div.answer element, nest one required select element with three option elements.

Give the first option element a value of "", and the text Select an option. Give the second option element a value of yes, and the text Yes. Give the third option element a value of no, and the text No.

 <div class="answer">
              <select 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: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 37

Link to the challenge:

Try to remove the extra spaces in the option text.

1 Like

Thank you very much. It worked.

1 Like

Thanks spacing is critical and it works

1 Like

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