Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

The question say give the first option element value of ""and the text Select an option(copy and paste from question itself) but still an error is been showed stating you should give the first option element a text content of Select an option.

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>
              </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/136.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 37

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

Please read this instruction again carefully.

have tried thta

 <div class="answer" >
<select required >
<option value="">
Select an option
</option>
</select>

you mean like this??? but still not working . it still says you should give your 1st option a text of Select an option

You are missing an attribute in the opening select element. Read that again, please. Note the word that is emphasized.

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

try removing extra spaces and not going to a new line inside the element