Learn Accessibility by Building a Quiz - Step 38

Tell us what’s happening:

Step 38
Link the first label element to the select element, and give the select element a name attribute.
here is the code

            <div class="question-block">
              <label>Can the CSS margin property accept negative values?</label>
            </div>
            <div class="answer">
              <label for="response">Response</label>
              <select required name="response" id="response">
                <option value="">Select an option</op

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->

            <div class="question-block">
              <label>Can the CSS margin property accept negative values?</label>
            </div>
            <div class="answer">
              <label for="response">Response</label>
              <select required name="response" id="response">
                <option value="">Select an option</option>
                <option value="yes">Yes</option>
                <option value="no">No</option>
              </select>
            </div>

<!-- User Editable Region -->

Your browser information:

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

Challenge Information:

Learn Accessibility by Building a Quiz - Step 38

Hi there and welcome to our community!

Did you have a question about this particular challenge?

1 Like

Hello and Welcome to the forum @aichatouiyabookekoul !

Great attempt.

There is not any need to add a new label. The ask us to link the label that has the question in it, to the select id.

Perhaps, reset the step (it will not affect any of your previously completed code) and redo it with only adding what is asked for to pass the step.

Wishing you good progress on your coding journey. :slightly_smiling_face:

1 Like

Merci beaucoup, ça marche maintenant

1 Like

Vous êtes les bienvenus !

Nous vous souhaitons de bons progrès dans votre parcours de codage. :slightly_smiling_face:

Hey Buddy, Here Kindly check observe your code, and see what you need to do ?

1st = You Need to link your label with select
2nd = You no need to add extra label element

If still you have any confusion kindly let me know.

1 Like