Learn Accessibility by Building a Quiz - Step 36

Tell us what’s happening:.
Am I missing something, or am I doing anything wrong?

Your code so far

            <div class="answer">
              <option value=" ">
                <select div.answer></select>
              </option>
            </div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.71

Challenge: Learn Accessibility by Building a Quiz - Step 36

Link to the challenge:

You need to give optionn a text of select, not an element select

Ok.

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

Anything else that I need?

it should pass the test if not, give your empty quotes a space

Ok.
I’ll try what you suggested.

It says I should give the select an attribute of required .

do you know how thats done?

No, no I do not. Could you show me an example on how it’s done?

<select required>
1 Like

Ok, thank you for that.

1 Like

You missing the steps
step1 : create card “select”
step2 : create three card in select : “option”
step3: create value in cards “option”
step4: Put “required” in card “select”

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