Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

im sure its a small detail that im overlooking, but i have been at it for a while can someone tell why it says my cod doesnt have Yes as a text when it clearly does

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->

            <div class="answer">
              <select>
                <option value="">Select an option</option>
                <option value="yes">Yes 
                </option>
                <option value="no">No</option>
            </div>

<!-- User Editable Region -->
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 37

Hi @kennze,

Double-check the instructions again, you need a required within your <select> tag. Also, for the Yes option, move the </option> end-tag to the same line.

I hope this helps. Happy coding!

1 Like

Hi there!

Select element need a closing tag.

1 Like