Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

It keeps asking me to nest the options inside the select element, I don’t what’s wrong cause I’ve already nested the options in select element.

Your code so far

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

            <div class="answer">
              <select>
                <option="Select an option"></option>
                <option="yes">Yes/option>
                <option="no">No</option>
                </select>
            </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/125.0.0.0 Safari/537.36 Edg/125.0.0.0

Challenge Information:

Learn Accessibility by Building a Quiz - Step 37

This is not the correct syntax to set value for an option.

Example:

<select>
    <option value="male">Male</option>
    <option value="female">Female</option>
</select>
2 Likes

and here you are missing a <