Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

You should give the first option element a value of “”
where should i put the value of “”

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

Challenge Information:

Learn Accessibility by Building a Quiz - Step 37

currently, your <option> element has no text content as you didn’t type anything between its tags.

you need to add the text Select an option to your <option> element and for the value attribute give it the empty string ''.


You should give the first option element a value of “”

This message means value attribute not the text content.
you will see it highlighted like this: value which means something related to code.

Example:

<option value="agree">Agreed</option>

This element has value of agree.
And text of Agreed.

– solution removed –
Your code in between the div element with class of answer should look as indicated above!

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.