Learn Accessibility by Building a Quiz - Step 37

Tell us what’s happening:

Your code so far

Your browser information:

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

Challenge: Learn Accessibility by Building a Quiz - Step 37

Link to the challenge:

free

My Code

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

Error Message

The error being displayed is to nest three option elements within the select element and I have already done that.

kindly help me out with this step, I think I have done everything according to the problem question requirements but still I cannot go to next step.

I will be grateful for your precious time!

Welcome to our community!

You code is OK. It have passed on my side.

Restart step.

If it doesn’t pass, try the following:
“Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.”

Use the </> button to format code properly, and add the code above and below this in question here, because it is possible you have deleted some tag that is not visible right now.

On it, thanks

All code of the section in which error occured

 <section role="region" aria-labelledby="css-questions">
          <h2 id="css-questions">CSS</h2>
          <div class="formrow">
            <div class="question-block">
             
            </div>
<div class="answer">  
<select required>
<option value="">Select an option</option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
</div>
            <div class="question-block">
              <label for="student-name1">Do you have any questions:</label>
            </div>
            <div class="answer">
<select id="student-name1" required>
<option value="">Select an option</option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
            </div>
          </div>
        </section>

Error has been solved as of now. I am onto the next step now. just copied and pasted the code and restart the step and i was good to go

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