Learn Accessibility by Building a Quiz - Step 36

Tell us what’s happening:

Hi, I’m kinda stuck at step 36, and I don’t really know what to do. I thought I did it right, but it says I should nest 3 option elements within the select element. Haven’t i done that? Or do I just not understand the task?

Step 36

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.

Test

Sorry, your code does not pass. Don’t give up.

Hint

You should nest three option elements within the select element.

Your code so far

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

Challenge: Learn Accessibility by Building a Quiz - Step 36

Link to the challenge:

You set values on attributes for HTML tags.

This is saying that you need a value attribute

Ah thanks, now I understand :slight_smile: